{"id":18005590,"url":"https://github.com/areed1192/united-states-congress-python-api","last_synced_at":"2026-03-02T14:41:02.350Z","repository":{"id":62586401,"uuid":"287170598","full_name":"areed1192/united-states-congress-python-api","owner":"areed1192","description":"A Python API client for the United States Congressional data found GovInfo.com.","archived":false,"fork":false,"pushed_at":"2020-08-13T19:09:25.000Z","size":97,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T15:41:03.729Z","etag":null,"topics":["api","api-client","congress","govinfo","python","united-states"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/areed1192.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["areed1192"],"patreon":"sigmacoding","custom":null}},"created_at":"2020-08-13T03:20:38.000Z","updated_at":"2024-08-25T21:00:13.000Z","dependencies_parsed_at":"2022-11-03T22:16:16.853Z","dependency_job_id":null,"html_url":"https://github.com/areed1192/united-states-congress-python-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"areed1192/sigma-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Funited-states-congress-python-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Funited-states-congress-python-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Funited-states-congress-python-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Funited-states-congress-python-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areed1192","download_url":"https://codeload.github.com/areed1192/united-states-congress-python-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245637183,"owners_count":20648104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","congress","govinfo","python","united-states"],"created_at":"2024-10-30T00:20:43.489Z","updated_at":"2026-03-02T14:40:57.318Z","avatar_url":"https://github.com/areed1192.png","language":"Python","funding_links":["https://github.com/sponsors/areed1192","https://patreon.com/sigmacoding","https://www.patreon.com/sigmacoding"],"categories":[],"sub_categories":[],"readme":"# Python United Congress API Client\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Setup](#setup)\n- [Usage](#usage)\n- [Support These Projects](#support-these-projects)\n\n## Overview\n\nThis is a python API client library that is used to collect data from the\nUnited States Congress and a few other departments inside the US Government.\nThis library will make filtering the requests easier, and give you a nice easy\nto use tool to grab vital civic data to be used in a wide range of analysis.\n\n## Setup\n\nTo **install** the library, run the following command from the terminal.\n\n```console\npip install united-states-congress-python-api\n```\n\nTo **upgrade** the library, run the following command from the terminal.\n\n```console\npip install --upgrade united-states-congress-python-api\n```\n\n## Usage\n\nHere is a simple example of using the `congress` library to pull the bulk data\nsources and grabbing a speicifc year of bulk data for the Privacy Act Issuances.\n\n```python\nfrom pprint import pprint\nfrom congress.client import Congress\n\n# Initialize the Congress Client.\ncongress_client = Congress()\n\n# Grab the data sources.\ndata_sources = congress_client.data_sources()\npprint(data_sources)\n\n# Grab the different resources from the Privacy Act Issuance.\npia_2017 = congress_client.privacy_act_issuances(folder='2017')\npprint(pia_2017)\n```\n\n## Support These Projects\n\n**Patreon:**\nHelp support this project and future projects by donating to my [Patreon Page](https://www.patreon.com/sigmacoding). I'm\nalways looking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me\nto pay monthly fees.\n\n**YouTube:**\nIf you'd like to watch more of my content, feel free to visit my YouTube channel [Sigma Coding](https://www.youtube.com/c/SigmaCoding).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareed1192%2Funited-states-congress-python-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareed1192%2Funited-states-congress-python-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareed1192%2Funited-states-congress-python-api/lists"}