-
Notifications
You must be signed in to change notification settings - Fork 23
Articles
psiemens edited this page Dec 23, 2014
·
1 revision
API endpoints for articles:
Parameters:
-
qsearch query -
authorauthor -
beforepublished before date -
afterpublished after date -
topictopic id -
tagscomma separated list of tags -
sectionsection id -
nnumber of articles to return
Returns:
JSON array of the n articles matching the given parameters.
Parameters:
-
dateoptional date parameter (default=TODAY)
Returns: JSON array of the front page articles, ordered by importance.
Parameters:
-
startoptional start date parameter (default=TODAY) -
endoptional end date parameter (default=TODAY-7DAYS) -
nnumber of articles to return
Returns: JSON array of the most shared articles for the given time period (default: the past week).
Parameters:
-
fromcurrent article ID (required) -
nnumber of articles to return
Returns:
JSON array of the next n articles after from, as determined by the next-article algorithm.