BuildCanada / BuildCanada/OutcomeTrackerAPI

Add Bill Scraping from LegisInfo

Aperta
#27 3 commenti 0 reazioni 1 assegnatario Rivendicata da @jameslong Vedi su GitHub
Lingua principale
Ruby
Stelle
5
Fork
10
Merge medio
5m
PR unite (30g)
3

Descrizione

We want to track relevant bills as they go through the legislative process. They should show up as evidence in the timeline.

![Image](https://github.com/user-attachments/assets/bc4f3ede-c36c-42a6-af6f-507b0fb66aec)

This requires three things:

1) Creating a feed that scrapes bills, their text, amendments and their progress from LegisInfo (they have an api: `https://www.parl.ca/legisinfo/en/bills/json`). Don't create Entries here, create new models to track bills specifically.

2) Linking those bills to promises

3) Create another model called `BillMovement` that tracks the progress through parliament and it should also track amendments to bill at each stage. This is what should be shown in the evidence view on the app.

We want bill tracking to be separate from entries so we can build other functionality with the raw bill data in the future.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.