TypeScript integration
import Nytimes_sdk from 'nytimes-sdk'; const client = new Nytimes_sdk({ apiKey: "YOUR_API_KEY" });
curl \ # append ?api-key=$API_KEY to the URL \ http://api.nytimes.com/svc/community/v3/user-content/url.json
curl \ # append ?api-key=$API_KEY to the URL \ http://api.nytimes.com/svc/community/v3/user-content/user.json
curl \ # append ?api-key=$API_KEY to the URL \ http://api.nytimes.com/svc/community/v3/user-content/recent.json