{"id":15775750,"url":"https://github.com/jtyr/londonbikes","last_synced_at":"2025-03-31T14:42:48.269Z","repository":{"id":69604273,"uuid":"246965901","full_name":"jtyr/londonbikes","owner":"jtyr","description":"Script which allows to search in the TFL BikePoint API.","archived":false,"fork":false,"pushed_at":"2020-03-13T02:23:00.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T19:53:52.264Z","etag":null,"topics":["api","bike","bikepoint","london","tfl"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtyr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-13T01:44:02.000Z","updated_at":"2020-03-13T02:22:34.000Z","dependencies_parsed_at":"2023-05-31T12:37:28.089Z","dependency_job_id":null,"html_url":"https://github.com/jtyr/londonbikes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Flondonbikes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Flondonbikes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Flondonbikes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtyr%2Flondonbikes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtyr","download_url":"https://codeload.github.com/jtyr/londonbikes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246484335,"owners_count":20785060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bike","bikepoint","london","tfl"],"created_at":"2024-10-04T17:01:53.061Z","updated_at":"2025-03-31T14:42:48.249Z","avatar_url":"https://github.com/jtyr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"londonbikes\n===========\n\nSimple script which allows to search in the TFL BikePoint API.\n\n\nInstalation\n-----------\n\n```shell\npython setup.py install --user\n```\n\n\nUsage\n-----\n\nThe script requires Application ID and Key from [TFL\nAPI](https://api.tfl.gov.uk). Once you have them, export those as environment\nvariables:\n\n```shell\nexport TFL_APP_ID='abcdefgh'\nexport TFL_APP_KEY='1234567890abcdefghijklmnopqrstuv'\n```\n\nThe usage of the script is:\n\n```\n$ londonbikes\nUsage:\n  londonbikes search \u003csearch_string\u003e\n  londonbikes search \u003clatitude\u003e \u003clongitude\u003e \u003cradius_in_metres\u003e\n  londonbikes id \u003cbike_point_id\u003e\n```\n\nYou can search for BikePoints:\n\n```\n$ londonbikes search East\nId              Name                                           Latitude   Longitude\nBikePoints_50   East Road, Hoxton                              51.528673  -0.087459\nBikePoints_233  Pall Mall East, West End                       51.50777   -0.130699\nBikePoints_330  Eastbourne Mews, Paddington                    51.516417  -0.179135\n[...]\n```\n\nOr search for BikePoints in certain distance from a specific location:\n\n```\n$ londonbikes search 51.53 -0.09 250\nId             Name                  Latitude,Longitude   Distance\nId             Name                   Latitude,Longitude   Distance\nBikePoints_63  Murray Grove , Hoxton  51.53089,-0.089782   100.1   \nBikePoints_50  East Road, Hoxton      51.528673,-0.087459  229.5\n```\n\nOr display information about a specific BikePoint:\n\n```\n$ londonbikes id BikePoints_50\nName               Latitude   Longitude  Num Bikes  Empty Docks\nEast Road, Hoxton  51.528673  -0.087459  24         3\n```\n\nDebug messages will be shown if the following environment variable is exported:\n\n```shell\nexport LONDONBIKES_DEBUG='1'\n```\n\n\nAuthor\n------\n\nJiri Tyr\n\n\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtyr%2Flondonbikes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtyr%2Flondonbikes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtyr%2Flondonbikes/lists"}