Using golang-gcloud-sdk with nytimes.com

Dockerfile integration

✓ Official SDK
Install
# See https://github.com/nytimes/golang-gcloud-sdk
Most Shared by Section & Time Period
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/mostpopular/v2/mostshared/{section}/{time-period}.json
Most Viewed by Section & Time Period
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/mostpopular/v2/mostviewed/{section}/{time-period}.json
Most Emailed by Section & Time Period
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/mostpopular/v2/mostemailed/{section}/{time-period}.json
SDK on GitHub 📄 API Docs
SDK
golang-gcloud-sdk
Dockerfile
API
nytimes.com
nytimes.com:most_popular_api
At a glance
Language Dockerfile
Endpoints3
Base URLhttp://api.nytimes.com/svc/mostpopular/v2
✓ Official