{ "info": { "author": "Jiro Nejime", "author_email": "neji@drillbits.jp", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.3" ], "description": "=======\nnhk-api\n=======\n\n.. image:: https://drone.io/github.com/drillbits/nhk-api/status.png\n :target: https://drone.io/github.com/drillbits/nhk-api/latest\n\nPython client for NHK API.\n\nRequirements\n============\n\n- Python 3.3\n\nInstallation\n============\n\n::\n\n $ pip install nhk-api\n\nUsage\n=====\n\n::\n\n from datetime import date\n from nhk import ProgramGuide\n \n \n client = ProgramGuide(api_key='YOUR_API_KEY')\n \n # Get program list\n # http://api-portal.nhk.or.jp/doc_list-v1_con\n program_list = client.pg_list('130', 'g1', date.today())\n # or\n # program_list = client.pg_list('\u6771\u4eac', '\uff2e\uff28\uff2b\u7dcf\u5408\uff11', date.today())\n \n # Get program list by genre\n # http://api-portal.nhk.or.jp/doc_genre-v1_con\n program_list_by_genre = client.pg_genre('130', 'g1', '0700', date.today())\n # or\n # program_list_by_genre = client.pg_genre('\u6771\u4eac', '\uff2e\uff28\uff2b\u7dcf\u5408\uff11', '\u30a2\u30cb\u30e1\uff0f\u7279\u64ae(\u56fd\u5185\u30a2\u30cb\u30e1)', date.today())\n \n # Get program information\n # http://api-portal.nhk.or.jp/doc_info-v1_con\n program_info = client.pg_info('130', 'g1', '2014021499999')\n # or\n # program_info = client.pg_info('\u6771\u4eac', '\uff2e\uff28\uff2b\u7dcf\u5408\uff11', '2014021499999')\n \n # Get information of program that is broadcasting now\n # http://api-portal.nhk.or.jp/doc_now-v1_con\n program_now = client.pg_now('130', 'g1')\n # or\n # program_now = client.pg_now('\u6771\u4eac', '\uff2e\uff28\uff2b\u7dcf\u5408\uff11')", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/drillbits/nhk-api", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "nhk-api", "package_url": "https://pypi.org/project/nhk-api/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nhk-api/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/drillbits/nhk-api" }, "release_url": "https://pypi.org/project/nhk-api/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Python client for NHK API", "version": "0.0.2" }, "last_serial": 995949, "releases": { "0.0.1dev": [ { "comment_text": "", "digests": { "md5": "f9d3621e668676051ef9eb11e9e824b8", "sha256": "62a433123e930c014a0e86b57ae6eea6ef28a6cc3654591fd511132b449ae31e" }, "downloads": -1, "filename": "nhk_api-0.0.1dev-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f9d3621e668676051ef9eb11e9e824b8", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 7932, "upload_time": "2014-02-10T06:10:16", "url": "https://files.pythonhosted.org/packages/97/68/64ec895dcaedd409bf378fa0bb913ad4aaafcb27ceb0ee94f9c5372d9bdc/nhk_api-0.0.1dev-py2.py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1fb3ae5e798aef3b02d153e385a84f2b", "sha256": "87e9f0ebfe53d52010d18d8d770ade6580170340a6dc2e2ff5206bffcf57ccd5" }, "downloads": -1, "filename": "nhk_api-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1fb3ae5e798aef3b02d153e385a84f2b", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 8011, "upload_time": "2014-02-10T08:53:53", "url": "https://files.pythonhosted.org/packages/9b/e9/28761664aeb114797610a8f183b53941538e960765ec942e952ba79f7c20/nhk_api-0.0.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1fb3ae5e798aef3b02d153e385a84f2b", "sha256": "87e9f0ebfe53d52010d18d8d770ade6580170340a6dc2e2ff5206bffcf57ccd5" }, "downloads": -1, "filename": "nhk_api-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1fb3ae5e798aef3b02d153e385a84f2b", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 8011, "upload_time": "2014-02-10T08:53:53", "url": "https://files.pythonhosted.org/packages/9b/e9/28761664aeb114797610a8f183b53941538e960765ec942e952ba79f7c20/nhk_api-0.0.2-py2.py3-none-any.whl" } ] }