{ "info": { "author": "Shiqan", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.7" ], "description": "# [NS API](https://www.ns.nl/en/travel-information/ns-api)\n\n[![PyPI](https://img.shields.io/pypi/v/fortnite-replay-reader.svg)](https://pypi.org/project/fortnite-replay-reader/)\n\nUnofficial wrapper for the Dutch railway [API](https://www.ns.nl/en/travel-information/ns-api) (Nederlandse Spoorwegen). The NS API currently features the following services:\n\n- Prices\n- Current departure times\n- Disruptions and engineering work\n- The station list, with all stations in the Netherlands including Geodata\n- Travel recommendations from station to station\n\n```python\nfrom nsapi import NSAPI\n\nns = NSAPI('yourkey')\nns.get_all_stations()\n```\n\n```python\nfrom nsapi import AsyncNSAPI\n\nasync def example():\n async with AsyncNSAPI('yourkey') as ns:\n await ns.get_all_stations()\n```\n\n## License\n\nLicensed under the [MIT License](LICENSE).\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": "http://github.com/Shiqan/ns-api", "keywords": "api ns nederlandse spoorwegen dutch railway", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ns-api", "package_url": "https://pypi.org/project/ns-api/", "platform": "", "project_url": "https://pypi.org/project/ns-api/", "project_urls": { "Homepage": "http://github.com/Shiqan/ns-api" }, "release_url": "https://pypi.org/project/ns-api/0.0.1/", "requires_dist": [ "aiohttp", "dataclasses-json", "requests" ], "requires_python": "", "summary": "Wrapper for the NS api", "version": "0.0.1" }, "last_serial": 5804578, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8421e00d0f9ed9d3fbf4cfe534409922", "sha256": "4b14a4bec3dcad5fc6bab29888b89a1231eb53e6b8637847c16f9485bd99ef55" }, "downloads": -1, "filename": "ns_api-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8421e00d0f9ed9d3fbf4cfe534409922", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7760, "upload_time": "2019-09-09T17:04:41", "url": "https://files.pythonhosted.org/packages/d0/1a/2dc473965e6ab1f6130fc0e9644710a41e7ea90eed45157ccb4a0059d582/ns_api-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf688778e1cea5e39fd9d441d66aeae9", "sha256": "4f76a3d97d22d8dc4bb50370a70d59560088835d444d4b23c45f229695fe0534" }, "downloads": -1, "filename": "ns-api-0.0.1.tar.gz", "has_sig": false, "md5_digest": "bf688778e1cea5e39fd9d441d66aeae9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7098, "upload_time": "2019-09-09T17:04:44", "url": "https://files.pythonhosted.org/packages/1c/ae/0663e21eb43717612822ea68996af2c925c3c4cd499046bef29b46e07308/ns-api-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8421e00d0f9ed9d3fbf4cfe534409922", "sha256": "4b14a4bec3dcad5fc6bab29888b89a1231eb53e6b8637847c16f9485bd99ef55" }, "downloads": -1, "filename": "ns_api-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8421e00d0f9ed9d3fbf4cfe534409922", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7760, "upload_time": "2019-09-09T17:04:41", "url": "https://files.pythonhosted.org/packages/d0/1a/2dc473965e6ab1f6130fc0e9644710a41e7ea90eed45157ccb4a0059d582/ns_api-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf688778e1cea5e39fd9d441d66aeae9", "sha256": "4f76a3d97d22d8dc4bb50370a70d59560088835d444d4b23c45f229695fe0534" }, "downloads": -1, "filename": "ns-api-0.0.1.tar.gz", "has_sig": false, "md5_digest": "bf688778e1cea5e39fd9d441d66aeae9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7098, "upload_time": "2019-09-09T17:04:44", "url": "https://files.pythonhosted.org/packages/1c/ae/0663e21eb43717612822ea68996af2c925c3c4cd499046bef29b46e07308/ns-api-0.0.1.tar.gz" } ] }