{"id":20683968,"url":"https://github.com/aaronc81/york-bin-collection","last_synced_at":"2025-06-27T04:34:07.184Z","repository":{"id":35103493,"uuid":"207139816","full_name":"AaronC81/york-bin-collection","owner":"AaronC81","description":"Ruby interface and scraper for City of York waste collection","archived":false,"fork":false,"pushed_at":"2022-10-20T02:00:30.000Z","size":8,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T15:17:08.881Z","etag":null,"topics":["ruby","york"],"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/AaronC81.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-08T16:21:18.000Z","updated_at":"2019-09-08T16:26:29.000Z","dependencies_parsed_at":"2022-09-05T08:51:27.806Z","dependency_job_id":null,"html_url":"https://github.com/AaronC81/york-bin-collection","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/AaronC81%2Fyork-bin-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronC81%2Fyork-bin-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronC81%2Fyork-bin-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronC81%2Fyork-bin-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AaronC81","download_url":"https://codeload.github.com/AaronC81/york-bin-collection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242933887,"owners_count":20208912,"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":["ruby","york"],"created_at":"2024-11-16T22:18:27.313Z","updated_at":"2025-03-10T21:52:10.330Z","avatar_url":"https://github.com/AaronC81.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YorkBinCollection\n\nThis is an interface to the City of York website, scraping the calendar page\nfor refuse collection (or using its JSON API where possible).\n\n## Installation\n\n```\ngem install york-bin-collection\n```\n\n## Usage\n\n```ruby\nrequire 'york-bin-collection'\n\n# Get the unique ID (UPRN) for some property in a postcode\nuprn = YorkBinCollection.get_uprns_for_postcode(\"YO10 1AB\").sample\n\n# Get the collection schedules\ndates = YorkBinCollection.get_collection_dates(uprn)\ndates.recycling # =\u003e [Date, Date, ...]\ndates.household # =\u003e [Date, Date, ...]\ndates.garden # =\u003e [Date, Date, ...]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronc81%2Fyork-bin-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronc81%2Fyork-bin-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronc81%2Fyork-bin-collection/lists"}