unitedstates / congress-legislators

Members of the United States Congress, 1789-Present, in YAML/JSON/CSV, as well as committees, presidents, and vice presidents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bioguide now has structured data

GPHemsley opened this issue · comments

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

The old Bioguide is still available, at a new URL:
https://bioguideretro.congress.gov/