{"id":15755555,"url":"https://github.com/hmarr/barclays_bikes","last_synced_at":"2025-03-13T16:32:04.782Z","repository":{"id":2937110,"uuid":"3949059","full_name":"hmarr/barclays_bikes","owner":"hmarr","description":"A Ruby library for retrieving Barclays Bike availability","archived":false,"fork":false,"pushed_at":"2012-04-06T11:29:26.000Z","size":159,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T09:05:49.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/hmarr.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}},"created_at":"2012-04-06T11:25:15.000Z","updated_at":"2022-11-13T18:23:10.000Z","dependencies_parsed_at":"2022-08-29T10:51:09.555Z","dependency_job_id":null,"html_url":"https://github.com/hmarr/barclays_bikes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fbarclays_bikes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fbarclays_bikes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fbarclays_bikes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fbarclays_bikes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmarr","download_url":"https://codeload.github.com/hmarr/barclays_bikes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243441503,"owners_count":20291482,"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":[],"created_at":"2024-10-04T08:22:20.578Z","updated_at":"2025-03-13T16:32:04.471Z","avatar_url":"https://github.com/hmarr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# barclays_bikes\n\nA Ruby library for retrieving Barclays Bike availability information. It may be\nused as a library or as a command line tool.\n\n### Installation\n\n```console\n$ gem install barclays_bikes\n```\n\n### Command Line Usage\n\nRun the `bbikes` command in a shell, optionally providing a query to filter\nthe station that are displayed.\n\n```console\n$ bbikes hatton wall\n\nHatton Wall, Holborn:\n  14 bikes available\n  11 spaces available\n\n```\n\n### Using from Ruby\n\nSimply require `barclays_bikes`, then use `BarclaysBikes.load_bike_data` to\nfetch the availability information.\n\n```ruby\nrequire 'barclays_bikes'\n\nbike_data = BarclaysBikes.load_bike_data\nbike_data['Hatton Wall, Holborn']\n# =\u003e {:bikes=\u003e13, :spaces=\u003e12}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarr%2Fbarclays_bikes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmarr%2Fbarclays_bikes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarr%2Fbarclays_bikes/lists"}