BuildCanada / BuildCanada/OutcomeTrackerAPI

Add Bill Scraping from LegisInfo

Offen
#27 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @jameslong Auf GitHub ansehen
Vorherrschende Sprache
Ruby
Sterne
5
Forks
10
Ø Merge
5 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.