Using NYT-slash-command with nytimes.com

JavaScript integration

Install
npm install NYT-slash-command
Comments by URL
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/community/v3/user-content/url.json
Comments by User
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/community/v3/user-content/user.json
Recent User Comments
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/community/v3/user-content/recent.json
SDK on GitHub 📄 API Docs
SDK
NYT-slash-command
JavaScript
API
nytimes.com
nytimes.com:community
At a glance
Language JavaScript
Endpoints4
Base URLhttp://api.nytimes.com/svc/community/v3