Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Use External APIs For Status Tracking #3

Open
hejjoe opened this issue Mar 18, 2022 · 0 comments
Open

Idea: Use External APIs For Status Tracking #3

hejjoe opened this issue Mar 18, 2022 · 0 comments

Comments

@hejjoe
Copy link

hejjoe commented Mar 18, 2022

Lots of government plans need to be approved by the legislative. So existing APIs like the DIP API could be used to automatically track ongoing plans. Every law has an ID, which could be tracked easily.

There already some projects that make it easier to use the DIP API like BundestagsAPy by @parobo, pydipapi by @lichtbaer, tidybundestag by @benjaminguinaudeau, bt-dip-sdk by @ManAnRuck and Bundestag-API by @jschibberges.

E.g. this government plan

https://fragdenstaat.de/koalitionstracker/ampelkoalition-2021/vorhaben/wohngeld-und-einmaliger-heizkostenzuschuss/

is equivalent to this procedure

https://dip.bundestag.de/vorgang/gesetz-zur-gewährung-eines-einmaligen-heizkostenzuschusses-aufgrund-stark-gestiegener-energiekosten/284432

DIP API documentation suggests
"GET https://search.dip.bundestag.de/api/v1/{ressourcentyp}/{id}"

So in this case the government plan could be tracked here:
GET https://search.dip.bundestag.de/api/v1/vorgang/284432?apikey=N64VhW8.yChkBUIJeosGojQ7CSR2xwLf3Qy7Apw464

The status displayed via the DIP API (here "beratungsstand") could be used to track the status of the government plan.

Bonus: If the status for a procedure in the DIP API does not change for a certain amount of time the status of the government plan could automatically changed to "verschoben".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant