Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 513 Bytes

File metadata and controls

29 lines (19 loc) · 513 Bytes

Politalk API

Provides the following endpoints:

  • /api/members
  • /api/keywords
  • /api/dates
  • /api/wordchoices/term/:term
  • /api/hansards

The api supports CORS. We might add JSONp at some point.

Deploy

heroku deploy

Call to view various configuration variables heroku config.

Downloading new data

At 10am every day, download.js is run to check for new hansard data.

TODO before launch

  • workout timeout
  • talk to heroku
  • loadbalance/fallover on fastly
  • remove insert
  • test2