Using NYT-slash-command with nytimes.com

JavaScript integration

Install
npm install NYT-slash-command
Best Seller List
curl \
  # append ?api-key=$API_KEY to the URL \
  https://api.nytimes.com/svc/books/v3/lists.{format}
Reviews
curl \
  # append ?api-key=$API_KEY to the URL \
  https://api.nytimes.com/svc/books/v3/reviews.{format}
Best Seller List Names
curl \
  # append ?api-key=$API_KEY to the URL \
  https://api.nytimes.com/svc/books/v3/lists/names.{format}
SDK on GitHub 📄 API Docs
SDK
NYT-slash-command
JavaScript
API
nytimes.com
nytimes.com:books_api
At a glance
Language JavaScript
Endpoints6
Base URLhttps://api.nytimes.com/svc/books/v3