Skip to content

hawkirk/PyCongress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCongress

PyPI version Python version

Python client for Congress.gov's API.

Setup

⚠️ Note: As of March 2023 pycongress is no longer maintained and not reccomended for installation at this time.

Install pycongress with pip:

$ pip install pycongress

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. May support more endpoints 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

About

🗳️ Python client for Congress.gov's API

Topics

Resources

License

Stars

Watchers

Forks

Languages