Authenticate with the GovInfo API
mainThe GovInfo API requires an api.data.gov key. You can sign up for a key at https://www.govinfo.gov/api-signup.
Once you have a key, you can include it in your requests. A common method is to pass it as a query parameter named api_key. You can also use the 'Authorize' feature on the interactive OpenAPI/swagger documentation page to enter your key for testing.
https://api.govinfo.gov/collections?api_key=DEMO_KEY