Python client library for the Regulations.gov API v4, providing access to federal regulatory documents, comments, and dockets from the U.S. government's public rulemaking portal. Wraps the REST API with typed Python methods for searching and retrieving regulatory data.
pip install requestsVerified import paths — ran on the pinned version, not inferred.
Search for federal regulatory documents using the Regulations.gov API.
Sign up at https://api.data.gov/signup/ and set the REGULATIONS_GOV_API_KEY environment variable.
Implement your own rate limiting or exponential backoff when making bulk requests.
Use 'from regulations_gov_api import RegulationsAPI' after installing 'pip install regulations-gov-api'.
Access fields via result['data'][i]['attributes']['title'], not result['data'][i]['title'].
Use pagination with page_number and page_size <= 250 to retrieve large result sets.
It is recommended to use a virtual environment or run pip as a non-root user. Additionally, ensure pip is updated to its latest version by running 'pip install --upgrade pip'.
No resource links recorded.