Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 488 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 488 Bytes

Process sketch

  1. POST a bunch of IDs. queueParliamentarianIds sends each ID to Pub/Sub.
  2. Pub/Sub triggers a background function, downloadParliamentarianData.
  3. downloadParliamentarianData loads the parliamentarian page URL and extracts the data, storing them in Cloud Storage.

API links

Get info for a specific parliamentarian:

https://lop.parl.ca/ParlinfoWebApi/Person/GetPersonWebProfile/{ID}?callback=jQuery33107266187344061623_1569968990479&_=1569968990480