{ "info": { "author": "Chris Amico", "author_email": "eyeseast@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Python NytCongress\n==================\n\nA Python client for the New York Times [Congress API](http://developer.nytimes.com/docs/congress_api)\n\nInstall\n-------\n\n $ pip install python-nytcongress\n\nOr download and run\n\n $ python setup.py install\n\nUsage\n-----\n\n >>> from nytcongress import NytCongress\n >>> congress = NytCongress(API_KEY)\n \n # get member by bioguide ID\n >>> pelosi = congress.members.get('P000197')\n >>> pelosi['twitter_id']\n 'NancyPelosi'\n \n # get recent House bills\n # recent bills come in two types: 'introduced' and 'updated'\n >>> introd = congress.bills.recent(chamber='house', congress=111, type='introduced')\n >>> len(introd['bills'])\n 20\n >>> introd['chamber']\n 'House'\n \n # or use a convenience function\n >>> introd = congress.bills.introduced('house')\n >>> introd['chamber']\n 'House'\n >>> len(introd['bills'])\n 20", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "python-nytcongress", "package_url": "https://pypi.org/project/python-nytcongress/", "platform": "any", "project_url": "https://pypi.org/project/python-nytcongress/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/python-nytcongress/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A Python client for the New York Times Congress API", "version": "0.1.0" }, "last_serial": 798019, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "779f130389b99790c7f79b089433c410", "sha256": "4fc3d1ce4911ca1943df3d6bdf9e834ecc1203df920712e5003d0e5d8668cabb" }, "downloads": -1, "filename": "python-nytcongress-0.1.0.tar.gz", "has_sig": false, "md5_digest": "779f130389b99790c7f79b089433c410", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3799, "upload_time": "2010-11-16T04:50:59", "url": "https://files.pythonhosted.org/packages/ca/6a/1384f6bb678df00a01461dec55f4b42f0847505032422bde3a4a0ba55136/python-nytcongress-0.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "79b7c83987028bf08d3a2321e9efc36d", "sha256": "53c24e02e228614a030708c874ced71d2b9e136f1b97d6cc924a437db41b5a79" }, "downloads": -1, "filename": "python-nytcongress-0.1.0.zip", "has_sig": false, "md5_digest": "79b7c83987028bf08d3a2321e9efc36d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5048, "upload_time": "2010-11-16T04:51:00", "url": "https://files.pythonhosted.org/packages/40/fd/98c9ce022a3c5d67af4a4d4730276ac1b641de84121584de7748aa3aacbe/python-nytcongress-0.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "779f130389b99790c7f79b089433c410", "sha256": "4fc3d1ce4911ca1943df3d6bdf9e834ecc1203df920712e5003d0e5d8668cabb" }, "downloads": -1, "filename": "python-nytcongress-0.1.0.tar.gz", "has_sig": false, "md5_digest": "779f130389b99790c7f79b089433c410", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3799, "upload_time": "2010-11-16T04:50:59", "url": "https://files.pythonhosted.org/packages/ca/6a/1384f6bb678df00a01461dec55f4b42f0847505032422bde3a4a0ba55136/python-nytcongress-0.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "79b7c83987028bf08d3a2321e9efc36d", "sha256": "53c24e02e228614a030708c874ced71d2b9e136f1b97d6cc924a437db41b5a79" }, "downloads": -1, "filename": "python-nytcongress-0.1.0.zip", "has_sig": false, "md5_digest": "79b7c83987028bf08d3a2321e9efc36d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5048, "upload_time": "2010-11-16T04:51:00", "url": "https://files.pythonhosted.org/packages/40/fd/98c9ce022a3c5d67af4a4d4730276ac1b641de84121584de7748aa3aacbe/python-nytcongress-0.1.0.zip" } ] }