API
Our API is located at api.codefordemocracy.org. Our API helps you get to the raw data behind our tools without needing to use the front-end interface. Get started by viewing the available endpoints or generating access credentials using the portal at account.codefordemocracy.org.
Code Samples
You can get started with sending requests quickly using the following wrapper functions in python. Just fill in your client_id
and client_secret
.
For example, you can use this code to print the cmte_id
for 100
Lobbyist/Registrant PACs:
Our API is open source! See the API repository on GitHub and inspect the code for exact details on how we calculate each endpoint.
Last updated