Python integration
import nytimes-python-sdk # Set your API key client = nytimes_python_sdk.Client(api_key="YOUR_API_KEY")
curl \
# append ?api-key=$API_KEY to the URL \
http://api.nytimes.com/svc/mostpopular/v2/mostshared/{section}/{time-period}.jsoncurl \
# append ?api-key=$API_KEY to the URL \
http://api.nytimes.com/svc/mostpopular/v2/mostviewed/{section}/{time-period}.jsoncurl \
# append ?api-key=$API_KEY to the URL \
http://api.nytimes.com/svc/mostpopular/v2/mostemailed/{section}/{time-period}.json