Data4Democracy / immigration-connect

Building tools to connect and coordinate efforts to help those affected by immigration law changes in partnership with the NILC
41 stars 29 forks source link

#58: get public charge comments via api #59

Closed dskard closed 5 years ago

dskard commented 5 years ago

This PR introduces a Python3 based script, named docketsync, that can be used to download comments from a docket on the regulations.gov website. Comments are discovered and downloaded through the https://regulations.gov website's public HTTP API. Use of the API requires that the caller gets an API key. The downloaded comments can be saved as an SQLite database or CSV file.

The README.md file describes how to get started using docketsync and the complementary docketsync-run, which runs docketsync in a Docker container.

Connected to #58