propublica / Capitol-Words

Scraping, parsing and indexing the daily Congressional Record to support phrase search over time, and by legislator and date
BSD 3-Clause "New" or "Revised" License
122 stars 34 forks source link

Legislator URLs require slug #25

Closed konklone closed 13 years ago

konklone commented 13 years ago

In legislator URLs like the following: http://capitolwords.org/legislator/A000022-gary-l-ackerman

The "gary-l-ackerman" part is required, so the URL is really difficult to construct in another app that only has access to bioguide IDs. Even access to each speaker_* field in the API responses isn't enough to construct the slug, since a middle initial is also required.