Closed cnizzardini closed 4 years ago
@cnizzardini - currently, you can use the congress
parameter to specify the Congress wwithin the collections service. E.g.:
https://api.govinfo.gov/collections/BILLS/2020-01-01T00:00:00Z?pageSige=100&offset=0&congress=116&api_key=DEMO_KEY
You can also add the docClass parameter to retrieve different bill types (he, s, hres, sconres, etc.)
The collections service doesn’t currently have a parameter that allows choosing a given session. It’s something we can look into, though we are also in the process of designing the search service.
Would having #25 be useful in the meantime?
Is there a way to specify a specific congress and session when returning packages from the BILLS collection? Currently, we must determine the start and end date on our own.
If not, is there some other API or XML feed I can use to determine the start and end dates of congresses and sessions?
Context is I have open-sourced a piece of a project (https://github.com/cnizzardini/gov-info) I am working on. I'd like to streamline pulling this information without having to manually define start and end dates for a congress within my application.