Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycongress-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page