{ "info": { "author": "Michiel Scholten", "author_email": "michiel@diginaut.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries" ], "description": "=====\nnsapi\n=====\n\nQuery the Dutch railways about your routes, getting info on delays and\nmore. See below for the syntax and example output.\n\n|PyPI version| |PyPI downloads| |PyPI license|\n\nInstallation\n------------\n\nFrom PyPI\n~~~~~~~~~\n\nAssuming you already are inside a virtualenv:\n\n.. code-block:: bash\n\n pip install nsapi\n\nFrom Git\n~~~~~~~~\n\nCreate a new virtualenv (if you are not already in one) and install the\nnecessary packages:\n\n.. code-block:: bash\n\n git clone https://github.com/aquatix/ns-api.git\n cd ns-api\n mkvirtualenv ns-api\n pip install -r requirements.txt\n\nAs part of ns-notifications\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAlternatively, follow the installation instructions of `ns-notifications`_,\nwhich makes extensive use of this library to serve notifications to for\nexample a smartphone. The requirements of both packages can be installed\nin the same ``ns-notifications`` one mentioned in the project;\n``ns-api`` will be installed through pip from\n`PyPI `__.\n\nExample application\n-------------------\n\nFor example, I use the library to push notifications about my route to\nmy phone through `Pushbullet `__. The program I\nuse to do this has its own repository: `ns-notifications`_.\n\nNS API key\n~~~~~~~~~~\n\nTo actually be able to query the `Nederlandse Spoorwegen\nAPI `__, you `need to request a\nkey `__. Provide a good reason\nand you will likely get it mailed to you (it might take some days).\n\n.. |PyPI version| image:: https://img.shields.io/pypi/v/nsapi.svg\n :target: https://pypi.python.org/pypi/nsapi/\n.. |PyPI downloads| image:: https://img.shields.io/pypi/dm/nsapi.svg\n :target: https://pypi.python.org/pypi/nsapi/\n.. |PyPI license| image:: https://img.shields.io/github/license/aquatix/ns-api.svg\n :target: https://pypi.python.org/pypi/nsapi/\n.. _ns-notifications: https://github.com/aquatix/ns-notifications", "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/aquatix/ns-api/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "nsapi", "package_url": "https://pypi.org/project/nsapi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nsapi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aquatix/ns-api/" }, "release_url": "https://pypi.org/project/nsapi/2.7.4/", "requires_dist": null, "requires_python": null, "summary": "api wrapper for Dutch Railways (NS)", "version": "2.7.4" }, "last_serial": 1979883, "releases": { "2.3.0": [ { "comment_text": "", "digests": { "md5": "af9c76438c2e769051d9ca79ab5105d5", "sha256": "4ca76de9e305688e7323660c31abc6d3f8db5dd6b194612bc82d10a0b1e1dcf5" }, "downloads": -1, "filename": "nsapi-2.3.0.zip", "has_sig": false, "md5_digest": "af9c76438c2e769051d9ca79ab5105d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9602, "upload_time": "2015-09-19T09:02:14", "url": "https://files.pythonhosted.org/packages/1f/ef/9c63ac6d59a5d0f671f139bc5849e252187a0ce4e3a073edb071f9a68928/nsapi-2.3.0.zip" } ], "2.3.1": [ { "comment_text": "", "digests": { "md5": "71e0e1fe6d1b1e9d294941384a5206a3", "sha256": "0fa17b66bd72b161fd3a2535873230b6bc2d65ed8060f997e952e5ae0f317803" }, "downloads": -1, "filename": "nsapi-2.3.1.zip", "has_sig": false, "md5_digest": "71e0e1fe6d1b1e9d294941384a5206a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9750, "upload_time": "2015-09-19T09:11:14", "url": "https://files.pythonhosted.org/packages/4c/c6/6b98bfd6cedbee4b65c5d36a90a63a1f24ee1ad1de36008d38136668e48f/nsapi-2.3.1.zip" } ], "2.3.2": [ { "comment_text": "", "digests": { "md5": "a6e3737c8da8e9dd9a64c9b88e1f9a72", "sha256": "4712254cde3f3ddfa7f4360f9ccfabd6fa0d322ea907d5a8a27a422fad705520" }, "downloads": -1, "filename": "nsapi-2.3.2.zip", "has_sig": false, "md5_digest": "a6e3737c8da8e9dd9a64c9b88e1f9a72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11247, "upload_time": "2015-09-19T09:16:45", "url": "https://files.pythonhosted.org/packages/89/10/122e1629cdaa25334290d95838ac1869b268c5bdc8f990d7e8159603771e/nsapi-2.3.2.zip" } ], "2.3.3": [ { "comment_text": "", "digests": { "md5": "ea66c18d496c4070ac37224c74962787", "sha256": "d19b9d60476a674c2a6cc52a73cb0c39c543264a2c416ba0ce9f4877b78f7c37" }, "downloads": -1, "filename": "nsapi-2.3.3.zip", "has_sig": false, "md5_digest": "ea66c18d496c4070ac37224c74962787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11466, "upload_time": "2015-09-19T09:37:17", "url": "https://files.pythonhosted.org/packages/fa/6c/793eeb9004c4ca899a2efb361534a80c4fdf0141007fcace236c58393374/nsapi-2.3.3.zip" } ], "2.3.4": [ { "comment_text": "", "digests": { "md5": "b2cc6df8a5ed6a4abfcfcd19e2315723", "sha256": "1429e50b41d36f159a57d48a4714c5138ed337b2f3c7c9f09dc8fa0e0f7efb51" }, "downloads": -1, "filename": "nsapi-2.3.4.zip", "has_sig": false, "md5_digest": "b2cc6df8a5ed6a4abfcfcd19e2315723", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12102, "upload_time": "2015-09-21T11:45:40", "url": "https://files.pythonhosted.org/packages/a1/f9/c5ad76b3887aaa4cb09087f06f7c64ec124a7b24949eaadd2aff63540af4/nsapi-2.3.4.zip" } ], "2.3.5": [ { "comment_text": "", "digests": { "md5": "eba10d5150ec99f3f03f1423e11a5b48", "sha256": "ca16f16c5e78852c08d27d3ae651526837d43226d713558208613dd890891290" }, "downloads": -1, "filename": "nsapi-2.3.5.zip", "has_sig": false, "md5_digest": "eba10d5150ec99f3f03f1423e11a5b48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12510, "upload_time": "2015-10-02T06:59:27", "url": "https://files.pythonhosted.org/packages/51/c9/2b5786678d262007e0a3bddd9bd88789c5f4b486ebc4c3a65258d4aade49/nsapi-2.3.5.zip" } ], "2.4": [ { "comment_text": "", "digests": { "md5": "68c4d283ef74cb8e845cbfa0d67cdb67", "sha256": "ab13a3d6be68e323f4584134cde81ab6c863ba73a24818a070e119c6c13a3753" }, "downloads": -1, "filename": "nsapi-2.4.zip", "has_sig": false, "md5_digest": "68c4d283ef74cb8e845cbfa0d67cdb67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12577, "upload_time": "2015-10-27T13:35:01", "url": "https://files.pythonhosted.org/packages/54/ec/3715da123f53d79a8297d492ef1aa592cf584943a7305f4ffc46f84d3d67/nsapi-2.4.zip" } ], "2.5": [ { "comment_text": "", "digests": { "md5": "9093a139329432821777a117e36f85c9", "sha256": "1cdbc486be2a1b5c91dba340d9719b32ea130854609e4761a718e5851d42a58c" }, "downloads": -1, "filename": "nsapi-2.5.zip", "has_sig": false, "md5_digest": "9093a139329432821777a117e36f85c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12388, "upload_time": "2016-01-10T18:28:20", "url": "https://files.pythonhosted.org/packages/f2/e9/6665e7b8f25021c8c3482a723bda02e37c4d5dc98a5eb5cc0d71e4921f71/nsapi-2.5.zip" } ], "2.6": [ { "comment_text": "", "digests": { "md5": "ac60a119be8993c9833d026694580557", "sha256": "bc6235dfcb4043e5f4a3a338bbb1220e2c523a14a17820fb1a0851fbbcb2519a" }, "downloads": -1, "filename": "nsapi-2.6.zip", "has_sig": false, "md5_digest": "ac60a119be8993c9833d026694580557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12390, "upload_time": "2016-01-25T14:50:49", "url": "https://files.pythonhosted.org/packages/2d/5a/6d7929957ee0b0356bc9779cb36283031f2a0c28363e18a8cfd8398ed983/nsapi-2.6.zip" } ], "2.6.1": [ { "comment_text": "", "digests": { "md5": "7806a5812cec6425080fa086eaa5ac46", "sha256": "eb5c700b1f9202526ca43b457e037346a12b0d4177f75dc2b2b3933336879e6e" }, "downloads": -1, "filename": "nsapi-2.6.1.zip", "has_sig": false, "md5_digest": "7806a5812cec6425080fa086eaa5ac46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12454, "upload_time": "2016-01-25T15:10:45", "url": "https://files.pythonhosted.org/packages/ee/59/8c1684aaf34f6b690163a7e8164b39acb85a584c9ceef8a1c1ea208d2801/nsapi-2.6.1.zip" } ], "2.7": [ { "comment_text": "", "digests": { "md5": "3d665e63f0b7f2c0cc6a02ab0e658200", "sha256": "6e7852fed03f07f189d74914d6e490b39b3a087d22e75ea194bc09676159178c" }, "downloads": -1, "filename": "nsapi-2.7.zip", "has_sig": false, "md5_digest": "3d665e63f0b7f2c0cc6a02ab0e658200", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12480, "upload_time": "2016-01-26T12:45:04", "url": "https://files.pythonhosted.org/packages/31/e0/42425038cef6656385e14309551ba6b5e26b01b5aeea7468d0702dbdb72f/nsapi-2.7.zip" } ], "2.7.1": [ { "comment_text": "", "digests": { "md5": "944e37ea1cb0be1f1ee91cd720e0b9bd", "sha256": "f1bde9df9b0ed4032a3f7033f1a65a7f73d2d542c2677b2c97c7c3985fca6384" }, "downloads": -1, "filename": "nsapi-2.7.1.zip", "has_sig": false, "md5_digest": "944e37ea1cb0be1f1ee91cd720e0b9bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13043, "upload_time": "2016-01-26T13:45:40", "url": "https://files.pythonhosted.org/packages/c9/f3/6d5bcaf390dc972fa70ad12bd9d5870cb5282530f3de11767a7a50acbf0b/nsapi-2.7.1.zip" } ], "2.7.2": [ { "comment_text": "", "digests": { "md5": "6834a9a7d0a256912bfec0dc87bc24bd", "sha256": "9116b09bb7044f87d0e324cb20d96724115c8abefd4b970fbbec99a07df3835d" }, "downloads": -1, "filename": "nsapi-2.7.2.zip", "has_sig": false, "md5_digest": "6834a9a7d0a256912bfec0dc87bc24bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12588, "upload_time": "2016-02-01T15:43:24", "url": "https://files.pythonhosted.org/packages/f9/36/ce208909b5686b98b7d5edff0afd0bd1e0292fe0d04be3ebaca3e8693d86/nsapi-2.7.2.zip" } ], "2.7.3": [ { "comment_text": "", "digests": { "md5": "f546838007de30579d86310691209bc7", "sha256": "3813093ccf9feaf5373085171eb9d4da4fabfdfb7d155b4c5b95ea6826a921b7" }, "downloads": -1, "filename": "nsapi-2.7.3.zip", "has_sig": false, "md5_digest": "f546838007de30579d86310691209bc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12588, "upload_time": "2016-02-01T18:42:21", "url": "https://files.pythonhosted.org/packages/8e/5c/b3b21e17671228998362b928afa7daebe1096072684d639540799dc49f2b/nsapi-2.7.3.zip" } ], "2.7.4": [ { "comment_text": "", "digests": { "md5": "d32634d0165e9c4041cf96a81cf93c82", "sha256": "147ea214e054cf018f5dbfc4c37e0e58bc07f78113c66d943e52145c87126677" }, "downloads": -1, "filename": "nsapi-2.7.4.zip", "has_sig": false, "md5_digest": "d32634d0165e9c4041cf96a81cf93c82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12602, "upload_time": "2016-02-27T19:40:49", "url": "https://files.pythonhosted.org/packages/cd/a9/dc437c5c23e70bd62905a530502885d6689bc7cc5f42de38292f05254e57/nsapi-2.7.4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d32634d0165e9c4041cf96a81cf93c82", "sha256": "147ea214e054cf018f5dbfc4c37e0e58bc07f78113c66d943e52145c87126677" }, "downloads": -1, "filename": "nsapi-2.7.4.zip", "has_sig": false, "md5_digest": "d32634d0165e9c4041cf96a81cf93c82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12602, "upload_time": "2016-02-27T19:40:49", "url": "https://files.pythonhosted.org/packages/cd/a9/dc437c5c23e70bd62905a530502885d6689bc7cc5f42de38292f05254e57/nsapi-2.7.4.zip" } ] }