Bioguide now has structured data
GPHemsley opened this issue · comments
Gordon P. Hemsley commented
It seems bioguide.congress.gov has recently had a redesign, which has broken bioguide.py
and bioguide_guess_new_member_ids.py
and anything else that might attempt to use them.
However, they also now make available structured data that would be much easier to parse. It's available in both JSON and XML.
For example, for A000378:
https://bioguide.congress.gov/search/bio/A000378.json
https://bioguide.congress.gov/search/bio/A000378.xml
Gordon P. Hemsley commented
The old Bioguide is still available, at a new URL:
https://bioguideretro.congress.gov/