Community API
Recent Comments
Required Params
Usage
nyt.community.recent(args, callback)
Example
nyt.community.recent({‘force-replies’:’0’}, console.log)
Random Comments
Required Params
Usage
nyt.community.random(args, callback)
Example
nyt.community.random({}, console.log)
Comments by Date
Required Params
Usage
nyt.community.byDate(args, callback)
Example
nyt.community.byDate({‘YYYYMMDD’:’20120107’}, console.log)
Comments by User ID
Required Params
Usage
nyt.community.byUser(args, callback)
Example
nyt.community.byUser({‘user-ID’:’<id>’}, console.log)
Comments by URL
Required Params
Usage
nyt.community.byURL(args, callback)
Example
nyt.community.byURL({‘url-to-match’:’<url>’}, console.log)
````</url>})