{ "info": { "author": "Dextroz", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# transportapi-python \ud83d\ude86\ud83d\ude8c\ud83d\udeb2\nUnofficial Python 3.7 API wrapper for the [TransportAPI](https://www.transportapi.com/).\n\n# Dependencies\n\n```\n[dev-packages]\nblack = \"*\"\n\n[packages]\nrequests = \"*\"\n\n[requires]\npython_version = \"3.7\"\n```\n\nInstall `transportapi-python` using either:\n* `pip3 install transportapi-python`, `pipenv install`, `pip3 install -r requirements.txt`, `python setup.py install`.\n\n## Example Usage\n\n* Obtain an [API Key](https://developer.transportapi.com/signup).\n\nSee `transportapi_python/transportapi.py` for other parameters.\n\n* Accessing the Train endpoints.\n\n```python\nfrom transportapi_python import Train\nfrom pprint import pprint\n\n# HTTP(S) proxies are supported: https://2.python-requests.org/en/master/user/advanced/#proxies\ntrain = Train(APP_ID=\"Your app ID here.\", API_KEY=\"Your API key here.\")\n# Uses the default value station_code: \"LBG\".\npprint(train.train_timetable())\n```\n\n* Accessing Bus endpoints.\n\n```python\nfrom transportapi_python import Bus\nfrom pprint import pprint\n\n# HTTP(S) proxies are supported: https://2.python-requests.org/en/master/user/advanced/#proxies\nbus = Bus(APP_ID=\"Your app ID here.\", API_KEY=\"Your API key here.\")\n# Uses the default value station_code: \"LBG\".\npprint(bus.bus_service_info())\n```\n\nUsage for `Public`, `Car` and `Bicycle` classes are exactly the same as above.\n\n## Additional Information\n* [TransportAPI official API reference](https://developer.transportapi.com/docs?raml=https://transportapi.com/v3/raml/transportapi.raml)\n\n## Changelog\n\n* 0.0.1 - Inital release of transportapi-python. Covered all endpoints of the API. \n\n## Authors -- Contributors\n\n* **Dextroz** - *Author* - [Dextroz](https://github.com/Dextroz)\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) for details.\n\n## Disclaimer\nThis API wrapper is **unofficial** meaning it has no affiliation with *TransportAPI*. When using their API, you consent to their [terms & conditions](https://www.transportapi.com/terms/) and [privacy policy](https://www.transportapi.com/privacy/).\n\n\n", "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/Dextroz/transportapi-python", "keywords": "Wrapper API Transport TransportAPI Library Car Bus Bike Public Bicycle Train", "license": "", "maintainer": "", "maintainer_email": "", "name": "transportapi-python", "package_url": "https://pypi.org/project/transportapi-python/", "platform": "", "project_url": "https://pypi.org/project/transportapi-python/", "project_urls": { "Homepage": "https://github.com/Dextroz/transportapi-python" }, "release_url": "https://pypi.org/project/transportapi-python/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Unofficial Python 3.7 API wrapper for the TransportAPI.", "version": "0.0.1" }, "last_serial": 5764639, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3c026be308a5fd59ddaad693b8438a0b", "sha256": "4043a366ed955ddec94d0bfaa79935798b92f76f1bad8d945bafb74798178edd" }, "downloads": -1, "filename": "transportapi_python-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3c026be308a5fd59ddaad693b8438a0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6914, "upload_time": "2019-08-31T16:05:55", "url": "https://files.pythonhosted.org/packages/2c/24/5287a0442bfad00800e01e152bbb4744aeeb4ac31f7522e81a445ad03af4/transportapi_python-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97c82507cab5c4a0cb7254d9cc362cf2", "sha256": "3445bc4b53ddb9c9983b1cf6cb0af63e06780bb595f4e53befab909a131405c1" }, "downloads": -1, "filename": "transportapi-python-0.0.1.tar.gz", "has_sig": false, "md5_digest": "97c82507cab5c4a0cb7254d9cc362cf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5452, "upload_time": "2019-08-31T16:05:58", "url": "https://files.pythonhosted.org/packages/fb/84/9b163de428ec4974a3f71fe8c881e411186ff99a2c4d61c89b955e359783/transportapi-python-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3c026be308a5fd59ddaad693b8438a0b", "sha256": "4043a366ed955ddec94d0bfaa79935798b92f76f1bad8d945bafb74798178edd" }, "downloads": -1, "filename": "transportapi_python-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3c026be308a5fd59ddaad693b8438a0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6914, "upload_time": "2019-08-31T16:05:55", "url": "https://files.pythonhosted.org/packages/2c/24/5287a0442bfad00800e01e152bbb4744aeeb4ac31f7522e81a445ad03af4/transportapi_python-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97c82507cab5c4a0cb7254d9cc362cf2", "sha256": "3445bc4b53ddb9c9983b1cf6cb0af63e06780bb595f4e53befab909a131405c1" }, "downloads": -1, "filename": "transportapi-python-0.0.1.tar.gz", "has_sig": false, "md5_digest": "97c82507cab5c4a0cb7254d9cc362cf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5452, "upload_time": "2019-08-31T16:05:58", "url": "https://files.pythonhosted.org/packages/fb/84/9b163de428ec4974a3f71fe8c881e411186ff99a2c4d61c89b955e359783/transportapi-python-0.0.1.tar.gz" } ] }