{ "info": { "author": "Yuhui", "author_email": "yuhuibc@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Internet" ], "description": "landtransportsg\n===============\n\n|pyversions| |pypi| |status| |license| |readthedocs|\n\n.. |pyversions| image:: https://img.shields.io/pypi/pyversions/landtransportsg\n :alt: Python 3\n.. |pypi| image:: https://img.shields.io/pypi/v/landtransportsg\n :alt: PyPi\n :target: https://pypi.org/project/landtransportsg\n.. |status| image:: https://img.shields.io/pypi/status/landtransportsg\n :alt: PyPi status\n.. |license| image:: https://img.shields.io/github/license/yuhui/landtransportsg\n :alt: GNU General Public License v3.0\n :target: https://www.gnu.org/licenses/gpl-3.0.html\n.. |readthedocs| image:: https://readthedocs.org/projects/landtransportsg/badge/?version=latest\n :alt: Documentation Status\n :target: https://landtransportsg.readthedocs.io/en/latest/?badge=latest\n\nThis is an unofficial Python package for interacting with APIs available at\n`LTA DataMall`_.\n\n.. _LTA DataMall: https://www.mytransport.sg/content/mytransport/home/dataMall.html\n\nInstalling the package\n----------------------\n\nInstall the package using ``pip``::\n\n pip install landtransportsg\n\nUsing the package\n-----------------\n\nThe main steps are:\n\n1. Import a class.\n2. Instantiate an object from the class.\n3. Call a function on that object.\n\nFor more information, `refer to the documentation`_.\n\n.. _refer to the documentation: http://landtransportsg.readthedocs.io/\n\nUsage overview\n^^^^^^^^^^^^^^\n\nInteracting with `LTA DataMall`_'s API is done through one of three clients,\nwhere each client corresponds with a set of endpoints.\n\n.. _LTA DataMall: https://www.mytransport.sg/content/mytransport/home/dataMall.html\n\nThe three clients are: ``ActiveMobility``, ``PublicTransport`` and ``Traffic``.\n\nEach client contains several public functions, one function per endpoint. A\nfunction's name is the same as its corresponding endpoint's ending path.\n\nSome functions accept named arguments, where an argument corresponds with a\nparameter that the endpoint accepts.\n\n *Why have separate clients instead of one single client?*\n\n Without knowing how `LTA DataMall`_'s API will evolve, and noticing that\n the endpoints were themselves already partitioned into sets, it seemed like\n a good idea to keep each set of endpoints in its own contextual client. This\n allows for each set of endpoints to be customised on their own, e.g. the\n ``PublicTransport`` passenger volume-related endpoints allow for a string\n to be returned, whereas the other endpoints return a list.\n\nReference\n---------\n\n`LTA DataMall's Developer Guide`_\n\n.. _LTA DataMall's Developer Guide: https://www.mytransport.sg/content/mytransport/home/dataMall/dynamic-data.html\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yuhui/landtransportsg", "keywords": "lta,land transport authority,datamall,python,singapore,wrapper", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "landtransportsg", "package_url": "https://pypi.org/project/landtransportsg/", "platform": "MacOS X", "project_url": "https://pypi.org/project/landtransportsg/", "project_urls": { "Bug Tracker": "https://github.com/yuhui/landtransportsg/issues", "Homepage": "https://github.com/yuhui/landtransportsg", "Source": "https://github.com/yuhui/landtransportsg" }, "release_url": "https://pypi.org/project/landtransportsg/1.0.0/", "requires_dist": [ "backoff (<2.0,>=1.8)", "cachetools (<4.0,>=3)", "pytz (<2020,>=2019)", "requests (<3.0,>=2)" ], "requires_python": ">=3", "summary": "Python package for interacting with APIs available at LTA DataMall", "version": "1.0.0" }, "last_serial": 5795636, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ffd3c75b7e4364e29323aedeb55c9ac2", "sha256": "61b5d21fc950a70633bfda93c809dd0f3d5b399fc35541bfc90461bb164cf1fc" }, "downloads": -1, "filename": "landtransportsg-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ffd3c75b7e4364e29323aedeb55c9ac2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 30861, "upload_time": "2019-09-07T10:13:06", "url": "https://files.pythonhosted.org/packages/ec/30/369c751b1bf711f027a07f2a9aec4e824fd9346661143d5c7c9c38dae107/landtransportsg-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef15e846878d4095fc9fbe99583afb90", "sha256": "250342744a967e247e6277d80436deec0286d1f0eb3e310858f0b540d0d9ef2f" }, "downloads": -1, "filename": "landtransportsg-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ef15e846878d4095fc9fbe99583afb90", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 23712, "upload_time": "2019-09-07T10:13:09", "url": "https://files.pythonhosted.org/packages/d2/66/776f3f389f18b87bb5d2023626e894069f8618b65246c372235ac65f01da/landtransportsg-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ffd3c75b7e4364e29323aedeb55c9ac2", "sha256": "61b5d21fc950a70633bfda93c809dd0f3d5b399fc35541bfc90461bb164cf1fc" }, "downloads": -1, "filename": "landtransportsg-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ffd3c75b7e4364e29323aedeb55c9ac2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 30861, "upload_time": "2019-09-07T10:13:06", "url": "https://files.pythonhosted.org/packages/ec/30/369c751b1bf711f027a07f2a9aec4e824fd9346661143d5c7c9c38dae107/landtransportsg-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef15e846878d4095fc9fbe99583afb90", "sha256": "250342744a967e247e6277d80436deec0286d1f0eb3e310858f0b540d0d9ef2f" }, "downloads": -1, "filename": "landtransportsg-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ef15e846878d4095fc9fbe99583afb90", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 23712, "upload_time": "2019-09-07T10:13:09", "url": "https://files.pythonhosted.org/packages/d2/66/776f3f389f18b87bb5d2023626e894069f8618b65246c372235ac65f01da/landtransportsg-1.0.0.tar.gz" } ] }