opencivicdata / python-legistar-scraper

Scrapes municipal data from Legistar websites
BSD 3-Clause "New" or "Revised" License
42 stars 28 forks source link

Refactor topics to return all topics if no matter ID given #89

Closed hancush closed 5 years ago

hancush commented 5 years ago

This PR provides access to the full list of matter indexes (a.k.a. topics) via the /matterindexes endpoint by refactoring the topics method on the bill API scraper to return all topics if a matter ID is not provided. This approach will not change the existing API for the topics method, but provides additional functionality if the matter ID is omitted.