Skip to content

The Stanford Daily Custom REST API Documentation

He Yifei 何一非 edited this page Mar 22, 2019 · 14 revisions

The Stanford Daily Authors Plugin

Get Authors List

Returns a list of authors (author ID, name, and profile image) in each section (e.g., "News", "Opinions").

Get Author Info

Returns an author's information including author ID, name, email, cover image, funny image, profile image, blurb, hometown, time at daily, tap order, dining hall, study spot, find you, section.

The Stanford Daily - Locations

Get / search Locations List

Returns a list of locations (ID, name, aliases, description, coordinates, tag slug, number of articles).

Get Location Info & Posts

Returns information related to a location.

These information include:

  • type=[none]: Information of this location.
  • type=posts: All posts related to this location. (page=[integer])

The Stanford Daily Push Notification Plugin

See https://github.com/TheStanfordDaily/tsd-push-notification/wiki/REST-API.