{ "info": { "author": "Peixian Wang", "author_email": "peixian@driftingicebergs.com", "bugtrack_url": null, "classifiers": [], "description": "gt-py\n==========\n\nA Python wrapper for the GovTrack API (v2).\n\nBased off of:\n- [https://github.com/cdelguercio/govtrack-python](https://github.com/cdelguercio/govtrack-python)\n- [https://github.com/markgx/govtrack-node/](https://github.com/markgx/govtrack-node/)\n\nInstallation\n--------------\n\t\n\tpip install gt-py\n\nUsage\n-------------\n\t\n\tfrom gtpy.api import GTPY\n\tclient = GTPY()\n\nChoose an endpoint:\n\t\n\tclient.role()\n\tclient.person()\n\tclient.cosponsorship()\n\tclient.vote\n\tclient.bill()\n\tclient.vote_voter()\n\tclient.committee()\n\tclient.committee_member()\n\nGet a person:\n\n\t>>>PERSON_ID = 400045\n\t>>>client.person(PERSON_ID)\n\t{'birthday': '1952-10-20', 'link': 'https://www.govtrack.us/congress/members/jeb_bradley/400045', 'lastname': 'Bradley'...\n\t\nFilter the results, such as getting all the bills voted by the 144th Congress (supports filtering on all [filterable fields](https://www.govtrack.us/developers/api)):\n\n\t>>>CONGRESS_ID = 114\n\t>>>client.bill({'congress': CONGRESS_ID})\n\t\nChange the maximum number of results:\n\n\t>>>client.bill({'congress': CONGRESS_ID, 'limit': 100})\n\t\n\t\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/peixian/gt-py/archive/1.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/peixian/gt-py", "keywords": "api,python,govtrack,gt", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "gt-py", "package_url": "https://pypi.org/project/gt-py/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gt-py/", "project_urls": { "Download": "https://github.com/peixian/gt-py/archive/1.2.tar.gz", "Homepage": "https://github.com/peixian/gt-py" }, "release_url": "https://pypi.org/project/gt-py/1.2/", "requires_dist": null, "requires_python": null, "summary": "Python library for GovTrack.us API", "version": "1.2" }, "last_serial": 2214942, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c1cb7520f3ea1e3a6a941f7638ffd421", "sha256": "db418cc974c953d98da24461a2957da0989dbaba95787b009564ed16d677d33e" }, "downloads": -1, "filename": "gt-py-1.0.tar.gz", "has_sig": false, "md5_digest": "c1cb7520f3ea1e3a6a941f7638ffd421", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8046, "upload_time": "2016-07-11T18:17:04", "url": "https://files.pythonhosted.org/packages/85/dc/21e7676814c170712a6882fc9faf9049c4d23746efdeab7d279f71d7349b/gt-py-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "64943a3ed10e55a44831c3940deb8e64", "sha256": "0b7e956af302d777c545ac5f508991ed0d1b4b5390f49f648feed309015fd7de" }, "downloads": -1, "filename": "gt-py-1.1.tar.gz", "has_sig": false, "md5_digest": "64943a3ed10e55a44831c3940deb8e64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3684, "upload_time": "2016-07-11T18:41:08", "url": "https://files.pythonhosted.org/packages/ce/76/f841016ced2f7efc2e57a708b049e4b02ec482ca570bfd83909158d8684a/gt-py-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "78b12e6cf0807f9bb1ac7433742b1b78", "sha256": "4e1284d7816047df4c242b525573c46dcbcbce59b7f2653ebaa1e49020868ae7" }, "downloads": -1, "filename": "gt-py-1.2.tar.gz", "has_sig": false, "md5_digest": "78b12e6cf0807f9bb1ac7433742b1b78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3981, "upload_time": "2016-07-11T18:58:45", "url": "https://files.pythonhosted.org/packages/6a/ac/9ca11b02fab35991ebd93808fce1fe57af25dfe93d7f6b1a5bbb9b487c76/gt-py-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78b12e6cf0807f9bb1ac7433742b1b78", "sha256": "4e1284d7816047df4c242b525573c46dcbcbce59b7f2653ebaa1e49020868ae7" }, "downloads": -1, "filename": "gt-py-1.2.tar.gz", "has_sig": false, "md5_digest": "78b12e6cf0807f9bb1ac7433742b1b78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3981, "upload_time": "2016-07-11T18:58:45", "url": "https://files.pythonhosted.org/packages/6a/ac/9ca11b02fab35991ebd93808fce1fe57af25dfe93d7f6b1a5bbb9b487c76/gt-py-1.2.tar.gz" } ] }