Python client for Congress.gov's API
Project description
PyCongress
Python client for Congress.gov's API.
Setup
Sign up for an API Key from Congress.Gov prior to using the library.
Store your key as an environment variable named CONGRESS_API_KEY
and it will automatically be passed through the client for authentication.
You may also manually declare your key:
congress = Congress(api_key="Insert key here")
Misc.
pycongress
currently only supports the bill
, member
, and congress
endpoints. Support for more endpoints is planned in the future.
This project was inspired by propublica-congress.
The Congress.Gov API is currently in beta. Visit the Library of Congress blog or GitHub page for more information.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pycongress-0.0.1.tar.gz
.
File metadata
- Download URL: pycongress-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 213d541d843c3a9fddae68e034ac52f247ce8ed3cece8cd892506f8a2af330cc |
|
MD5 | b586e11a19f7c0c0d369628bb3a86ffa |
|
BLAKE2b-256 | 9ae68654e8d4572c0e411e995e408b70cf9b1e159c27710a3ab8c9e5bda04941 |