You'll need to sign up for a NYT Developer Account to use this API.
https://developer.nytimes.com/
The above link also has all the API documentation.
Here's an example that prints the top 5 most viewed articles
Challenges:
What about printing the top 10 most shared articles?
Can you print any review data about your favorite movie?