{ "info": { "author": "Mathivanan Palanisamy", "author_email": "mathy@outlook.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# TfL-python-api\n\nTransport for London (TfL) Unified API is released [here](https://api.tfl.gov.uk/) is for open data users to use in their own software and services. \n\n## Get Started\n\nTo use the TfL Unified API, developers should [register](https://api-portal.tfl.gov.uk/) for an Application ID (`app_id`) and Application Key (`app_key`).\n\n```python\nfrom tfl.client import Client\nfrom tfl.api_token import ApiToken\n\napp_id = 'APPLICATION ID'\napp_key = 'APPLICATION KEY'\n\ntoken = ApiToken(app_id, app_key)\n\nclient = Client(token)\nprint (client.get_line_meta_modes())\nprint (client.get_lines(mode=\"bus\")[0])\nprint (client.get_lines(line_id=\"victoria\")[0])\n```\n\n## API Documentation\n\nThis Python library provide a thin wrapper around the TfL Unified APIs. See the [Transport for London Unified API](https://api.tfl.gov.uk/) for more details.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dhilmathy/TfL-python-api", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tflunifiedapi", "package_url": "https://pypi.org/project/tflunifiedapi/", "platform": "", "project_url": "https://pypi.org/project/tflunifiedapi/", "project_urls": { "Homepage": "https://github.com/dhilmathy/TfL-python-api" }, "release_url": "https://pypi.org/project/tflunifiedapi/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for Transport for London (TfL) Unified API", "version": "0.2.1" }, "last_serial": 4397207, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "be9966093a27024ce2aceb32401b9761", "sha256": "ad602d90c9861a55d8893d8012b6d0d02b351a66a0388c127b9524bc4f4a4659" }, "downloads": -1, "filename": "tflunifiedapi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "be9966093a27024ce2aceb32401b9761", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9280, "upload_time": "2018-10-20T13:40:32", "url": "https://files.pythonhosted.org/packages/8c/55/e2dd27dd30ce06883f710063cdfbecafd3980074fef1fe3d12f9108931d3/tflunifiedapi-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be9966093a27024ce2aceb32401b9761", "sha256": "ad602d90c9861a55d8893d8012b6d0d02b351a66a0388c127b9524bc4f4a4659" }, "downloads": -1, "filename": "tflunifiedapi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "be9966093a27024ce2aceb32401b9761", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9280, "upload_time": "2018-10-20T13:40:32", "url": "https://files.pythonhosted.org/packages/8c/55/e2dd27dd30ce06883f710063cdfbecafd3980074fef1fe3d12f9108931d3/tflunifiedapi-0.2.1.tar.gz" } ] }