amy-langley / tracking-trans-hate-bills

2 stars 1 forks source link

Integrate with openstates #5

Open amy-langley opened 1 year ago

amy-langley commented 1 year ago

openstates.org is another provider of metadata about legislation. It would be good to have other sources than just Legiscan.

amy-langley commented 1 year ago

They do provide an OpenAPI specification, but the openapi python generator is no fun to use so generating a client might be something to come back to.

amy-langley commented 1 year ago

The search operation is frustrating compared to Legiscan; at least with legiscan I could search with part of an bill id (1069) without being sure whether it was an HB, HR, H, etc. Bill search here requires the full bill id ("HB 1069") or else you're out of luck... even using "1069" as a full-text search term returns nothing. If they do a good job of canonicalizing, it might not be as much of an issue; we'll see. I'll certainly burn a lot of searches this way!

amy-langley commented 1 year ago

Be careful--their count of API calls doesn't update very frequently, would be easy to run out without knowing it