{ "info": { "author": "Eric O'Callaghan", "author_email": "eric@ericoc.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "Indego Bike Share Python Library\n================================\n\n\nAbout\n-----\n\nI have tried to make a re-usable Python library for the Philadelphia Indego Bike Share API! I'm not very familiar with Python, but tried to learn by creating this.\n\nI wrote this similarly to [my existing Indego PHP library](https://github.com/ericoc/indego-php-lib).\n\nCheck out [the City of Philadelphia GitHub](https://github.com/CityOfPhiladelphia) if you think this library is interesting!\n\n\nInstallation\n------------\n\nInstallation of this library should be as simple as running:\n\n pip install indego\n\n\nCompatibility\n-------------\n\nPlease note that this library is only compatible with Python 3+. Python 2 is not supported.\n\n\nExample\n-------\n\nWhen combined with the provided `Indego` class, the following code will generate the example output:\n\n from indego import Indego\n\n # Instantiate the Indego class\n indego = Indego()\n\n # Retrieve and print \"university\" stations\n uni_stations = indego.get_stations('university')\n print(uni_stations)\n\n # Show how many stations were returned above\n uni_count = len(uni_stations)\n print(uni_count, 'stations returned')\n\nOutput:\n\n $ python3 university_example.py\n {3008: {'addressStreet': '1076 Berks Street', 'addressCity': 'Philadelphia', 'addressState': 'PA', 'addressZipCode': '19122', 'bikesAvailable': 3, 'closeTime': '03:55:00', 'docksAvailable': 16, 'eventEnd': None, 'eventStart': None, 'isEventBased': False, 'isVirtual': False, 'isVisible': False, 'kioskId': 3008, 'kioskPublicStatus': 'Active', 'kioskStatus': 'FullService', 'name': 'Temple University Station', 'notes': None, 'openTime': '04:00:00', 'publicText': '', 'timeZone': 'Eastern Standard Time', 'totalDocks': 19, 'trikesAvailable': 0, 'kioskConnectionStatus': 'Active', 'kioskType': 1, 'latitude': 39.98078, 'longitude': -75.15055, 'hasGeofence': False, 'classicBikesAvailable': 3, 'smartBikesAvailable': 0, 'electricBikesAvailable': 0, 'isArchived': False}, 3020: {'addressStreet': '3051 South St.', 'addressCity': 'Philadelphia', 'addressState': 'PA', 'addressZipCode': '19147', 'bikesAvailable': 11, 'closeTime': '03:55:00', 'docksAvailable': 24, 'eventEnd': None, 'eventStart': None, 'isEventBased': False, 'isVirtual': False, 'isVisible': False, 'kioskId': 3020, 'kioskPublicStatus': 'Active', 'kioskStatus': 'FullService', 'name': 'University City Station', 'notes': None, 'openTime': '04:00:00', 'publicText': '', 'timeZone': 'Eastern Standard Time', 'totalDocks': 35, 'trikesAvailable': 0, 'kioskConnectionStatus': 'Active', 'kioskType': 1, 'latitude': 39.94922, 'longitude': -75.19036, 'hasGeofence': False, 'classicBikesAvailable': 11, 'smartBikesAvailable': 0, 'electricBikesAvailable': 0, 'isArchived': False}}\n 2 stations returned\n\n\nProviding an argument/filter to `get_stations()` to limit the selection of stations only limits the results within the `Indego` class. The API end-point itself always returns all stations.\n\nUnfortunately, there does not appear to be a signifcant amount of documentation for the API being used nor does there seem to be any parameters available to limit the stations being retrieved from the API.\n\nCalling `get_stations()` without any arguments will return a list of all (*currently*, 132) stations.\n\n\nMore Information\n----------------\n* [The actual Philadelphia Indego Bike Share API, a GeoJSON file](https://www.rideindego.com/stations/json/)\n* [OpenDataPhilly description of the API](https://www.opendataphilly.org/dataset/bike-share-stations)\n* [Interesting article visualizing Indego usage](http://www.randalolson.com/2015/09/05/visualizing-indego-bike-share-usage-patterns-in-philadelphia-part-2/)\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/ericoc/indego-py-lib/", "keywords": "philadelphia philly indego rideindego bicycle bike share bikeshare bike-share api", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "indego", "package_url": "https://pypi.org/project/indego/", "platform": "", "project_url": "https://pypi.org/project/indego/", "project_urls": { "Homepage": "https://github.com/ericoc/indego-py-lib/", "Indego Philly Bike Share": "https://www.rideindego.com/", "Project maintainer": "https://ericoc.com/" }, "release_url": "https://pypi.org/project/indego/1.1.0/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python3 library for working with the Philadelphia Indego Bike Share API", "version": "1.1.0" }, "last_serial": 5269282, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "a182013198503d6add14f1618106fc81", "sha256": "548c05cd4e1e7c182e38eaeb8a0ecb90c95040544001ff25e2959bae196fb22d" }, "downloads": -1, "filename": "indego-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a182013198503d6add14f1618106fc81", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3229, "upload_time": "2019-05-08T14:50:08", "url": "https://files.pythonhosted.org/packages/b3/93/5ba936afb455c6ddc2ad3785cef3cb9442d0c639ba89b3ec6ebb9d6ce5a1/indego-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbd2900790d544ad3de07f0f4582938b", "sha256": "dfbc570a40ce15d600d81e357349a966118c085debbed6e11ef58b5c23a8d0d8" }, "downloads": -1, "filename": "indego-1.0.2.tar.gz", "has_sig": false, "md5_digest": "cbd2900790d544ad3de07f0f4582938b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2474, "upload_time": "2019-05-08T14:50:10", "url": "https://files.pythonhosted.org/packages/0b/a9/3a10ba5a19531ebc56c27db71d0bf6e89dd3f2a43b2646e015df879b57df/indego-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "a4599c213ed93861ffa18bb7b7fd114b", "sha256": "7651e7839ee0f92e4f2f51cd65ef843c2d03eb5dd76aa3b952bb60ff0d41b618" }, "downloads": -1, "filename": "indego-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a4599c213ed93861ffa18bb7b7fd114b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4872, "upload_time": "2019-05-08T16:53:33", "url": "https://files.pythonhosted.org/packages/79/7b/d9798a435bcf85aa80c787d2592c09bb2b82aa760d0b0bb4f3038496ed5e/indego-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd2c76ff900d97cf3bd4c95737d18e25", "sha256": "5e342840df88c65905865c47ecc55e1439aece0789c11c6cca8eb3a8b0261d71" }, "downloads": -1, "filename": "indego-1.0.3.tar.gz", "has_sig": false, "md5_digest": "dd2c76ff900d97cf3bd4c95737d18e25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3774, "upload_time": "2019-05-08T16:53:35", "url": "https://files.pythonhosted.org/packages/1f/fe/a80bb1a80bf43cb6f16bf4690f7abe869231f0cc6cbfb2bea6959a757215/indego-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "cc3c599cc733b745ba9f55598f7a0a60", "sha256": "e61f1816da5c6a239d73e69498cb8341b87bf73320797e1ac8b656596f7932c2" }, "downloads": -1, "filename": "indego-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "cc3c599cc733b745ba9f55598f7a0a60", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4868, "upload_time": "2019-05-08T16:53:34", "url": "https://files.pythonhosted.org/packages/24/8e/f732c36f10411709bae58fbc14e709a609cca5b49463c49a4c426e2f14e8/indego-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3f48f230cb82c90b36c96c992c90bfe5", "sha256": "09819a87bb48d98e29a8cc03497037b159b31d1720d50bd83d6787a7de8d52fa" }, "downloads": -1, "filename": "indego-1.0.4.tar.gz", "has_sig": false, "md5_digest": "3f48f230cb82c90b36c96c992c90bfe5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3771, "upload_time": "2019-05-08T16:53:36", "url": "https://files.pythonhosted.org/packages/13/d6/2c745eee4877feaebebd5a9d3c1c12fda444afd2c5da417a730f18d0ffa8/indego-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "3792600ec84af9f037e882c0aa105a55", "sha256": "e435de756f89bce2080558ba0cca36074fb67cbb18c5033f9b9e03c84918474e" }, "downloads": -1, "filename": "indego-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "3792600ec84af9f037e882c0aa105a55", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4946, "upload_time": "2019-05-08T17:40:47", "url": "https://files.pythonhosted.org/packages/83/d9/0307f31805be2b98e34e263e4a401991402372147d5f40b502d03c693667/indego-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "600f371b8f6d2723d93479149aa0a78c", "sha256": "bb98f70197d721149cbd7d249727b735d067f4ecc79617442c138e30bc1bd21b" }, "downloads": -1, "filename": "indego-1.0.5.tar.gz", "has_sig": false, "md5_digest": "600f371b8f6d2723d93479149aa0a78c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3863, "upload_time": "2019-05-08T17:40:48", "url": "https://files.pythonhosted.org/packages/07/13/c96f54cad6952aca4f91863077145c3709417262c45b9e0e07157f6b2200/indego-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "b57cb5e9f497b380c0a27eb62de29728", "sha256": "df6706bdddaf94bf2b76574b668e42f959f812ec083c602d6f2fcd23c19313ae" }, "downloads": -1, "filename": "indego-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b57cb5e9f497b380c0a27eb62de29728", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5104, "upload_time": "2019-05-09T13:41:51", "url": "https://files.pythonhosted.org/packages/89/d4/a2e11f3cab8a2ba345eddc45f3bba9740fa5d816a7695e8e817e56d0d323/indego-1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "832661421bb03d5d86a74932a753852f", "sha256": "df01b08b37d78ad1bcec5e29a648af6b55d77aaa459b09b18ae254a8d6ad46f1" }, "downloads": -1, "filename": "indego-1.0.6.tar.gz", "has_sig": false, "md5_digest": "832661421bb03d5d86a74932a753852f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3819, "upload_time": "2019-05-09T13:41:52", "url": "https://files.pythonhosted.org/packages/bf/02/19f8e37f56a46cc3f5dfb2bbe119f9c9d7b9421ba94f87cddf1333af578d/indego-1.0.6.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5c8b46403ce1bfc9274965fc2277490b", "sha256": "a55c444a48f23695a1bf92e9a210c9c802db548abb14d41635c2f9988a3fe925" }, "downloads": -1, "filename": "indego-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5c8b46403ce1bfc9274965fc2277490b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4939, "upload_time": "2019-05-14T20:32:52", "url": "https://files.pythonhosted.org/packages/e1/18/34ea28cab3f55b3cae7b13b9fbad771bc79dc27824d18fb79e86b0930248/indego-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fde6547fe8100d006b1ba7a5f944a6cd", "sha256": "05b6e25452bfdf6f65862b812efd12b32e9ce78e530b12efe46d1c27a0a41bfd" }, "downloads": -1, "filename": "indego-1.1.0.tar.gz", "has_sig": false, "md5_digest": "fde6547fe8100d006b1ba7a5f944a6cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3866, "upload_time": "2019-05-14T20:32:53", "url": "https://files.pythonhosted.org/packages/f0/36/399829907819b2eff5fde7cbcb94df87e269df564fca573099b5e2232ddf/indego-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c8b46403ce1bfc9274965fc2277490b", "sha256": "a55c444a48f23695a1bf92e9a210c9c802db548abb14d41635c2f9988a3fe925" }, "downloads": -1, "filename": "indego-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5c8b46403ce1bfc9274965fc2277490b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4939, "upload_time": "2019-05-14T20:32:52", "url": "https://files.pythonhosted.org/packages/e1/18/34ea28cab3f55b3cae7b13b9fbad771bc79dc27824d18fb79e86b0930248/indego-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fde6547fe8100d006b1ba7a5f944a6cd", "sha256": "05b6e25452bfdf6f65862b812efd12b32e9ce78e530b12efe46d1c27a0a41bfd" }, "downloads": -1, "filename": "indego-1.1.0.tar.gz", "has_sig": false, "md5_digest": "fde6547fe8100d006b1ba7a5f944a6cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3866, "upload_time": "2019-05-14T20:32:53", "url": "https://files.pythonhosted.org/packages/f0/36/399829907819b2eff5fde7cbcb94df87e269df564fca573099b5e2232ddf/indego-1.1.0.tar.gz" } ] }