From 1956979e99a20507bde7eb2d809fcd7ea830539e Mon Sep 17 00:00:00 2001 From: Evgeniy Timokhov Date: Fri, 27 Dec 2024 00:51:19 +0000 Subject: [PATCH] Added support for Royal Borough Of Greenwich (#3278) * Added support for Royal Borough Of Greenwich (#3277) * Added arguments description and how to get them to metainfo * reformatting + fixing typehints --------- Co-authored-by: 5ila5 <5ila5@users.noreply.github.com> --- README.md | 1 + .../waste_collection_schedule/sources.json | 6 + .../translations/de.json | 24 +++ .../translations/en.json | 31 +++ .../translations/it.json | 24 +++ .../source/royalgreenwich_gov_uk.py | 190 ++++++++++++++++++ doc/source/royalgreenwich_gov_uk.md | 61 ++++++ info.md | 2 +- 8 files changed, 338 insertions(+), 1 deletion(-) create mode 100644 custom_components/waste_collection_schedule/waste_collection_schedule/source/royalgreenwich_gov_uk.py create mode 100644 doc/source/royalgreenwich_gov_uk.md diff --git a/README.md b/README.md index 3dadaf062..529252b4a 100644 --- a/README.md +++ b/README.md @@ -2172,6 +2172,7 @@ If your service provider is not listed, feel free to open a [source request issu - [Rochdale Borough Council](/doc/source/rochdale_gov_uk.md) / rochdale.gov.uk - [Rotherham](/doc/source/apps_imactivate_com.md) / rotherham.gov.uk - [Rotherham Metropolitan Borough Council](/doc/source/rotherham_gov_uk.md) / rotherham.gov.uk +- [Royal Borough Of Greenwich](/doc/source/royalgreenwich_gov_uk.md) / royalgreenwich.gov.uk - [Runnymede Borough Council](/doc/source/runnymede_gov_uk.md) / runnymede.gov.uk - [Rushcliffe Brough Council](/doc/source/rushcliffe_gov_uk.md) / rushcliffe.gov.uk - [Rushmoor Borough Council](/doc/source/rushmoor_gov_uk.md) / rushmoor.gov.uk diff --git a/custom_components/waste_collection_schedule/sources.json b/custom_components/waste_collection_schedule/sources.json index a4f246b83..33494ad36 100644 --- a/custom_components/waste_collection_schedule/sources.json +++ b/custom_components/waste_collection_schedule/sources.json @@ -13786,6 +13786,12 @@ "default_params": {}, "id": "rotherham_gov_uk" }, + { + "title": "Royal Borough Of Greenwich", + "module": "royalgreenwich_gov_uk", + "default_params": {}, + "id": "royalgreenwich_gov_uk" + }, { "title": "Runnymede Borough Council", "module": "runnymede_gov_uk", diff --git a/custom_components/waste_collection_schedule/translations/de.json b/custom_components/waste_collection_schedule/translations/de.json index f87e975fd..3f6163f6b 100644 --- a/custom_components/waste_collection_schedule/translations/de.json +++ b/custom_components/waste_collection_schedule/translations/de.json @@ -15648,6 +15648,30 @@ "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." } }, + "args_royalgreenwich_gov_uk": { + "title": "Quelle konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\nUsing a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). Find the collection day and the first bold text in the message below the search bar (right after \"At\" and before \":\") is your address, use it as-is.\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/royalgreenwich_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "address": "Addresse", + "house": "Haus", + "post_code": "PLZ" + }, + "data_description": { + "calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet." + } + }, + "reconfigure_royalgreenwich_gov_uk": { + "title": "Quelle Neu Konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\nUsing a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). Find the collection day and the first bold text in the message below the search bar (right after \"At\" and before \":\") is your address, use it as-is.\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/royalgreenwich_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "address": "Addresse", + "house": "Haus", + "post_code": "PLZ" + }, + "data_description": {} + }, "args_runnymede_gov_uk": { "title": "Quelle konfigurieren", "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/runnymede_gov_uk.md", diff --git a/custom_components/waste_collection_schedule/translations/en.json b/custom_components/waste_collection_schedule/translations/en.json index 42f4a3d27..6454fd16b 100644 --- a/custom_components/waste_collection_schedule/translations/en.json +++ b/custom_components/waste_collection_schedule/translations/en.json @@ -15671,6 +15671,37 @@ "uprn": "An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details." } }, + "args_royalgreenwich_gov_uk": { + "title": "Configure Source", + "description": "Configure your service provider. \n\nUsing a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). Find the collection day and the first bold text in the message below the search bar (right after \"At\" and before \":\") is your address, use it as-is.\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/royalgreenwich_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "address": "Address", + "house": "House", + "post_code": "Postcode" + }, + "data_description": { + "calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used.", + "address": "Full address", + "house": "House number or name", + "post_code": "Postcode" + } + }, + "reconfigure_royalgreenwich_gov_uk": { + "title": "Reconfigure Source", + "description": "Configure your service provider. \n\nUsing a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). Find the collection day and the first bold text in the message below the search bar (right after \"At\" and before \":\") is your address, use it as-is.\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/royalgreenwich_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "address": "Address", + "house": "House", + "post_code": "Postcode" + }, + "data_description": { + "address": "Full address", + "house": "House number or name", + "post_code": "Postcode" + } + }, "args_runnymede_gov_uk": { "title": "Configure Source", "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/runnymede_gov_uk.md.", diff --git a/custom_components/waste_collection_schedule/translations/it.json b/custom_components/waste_collection_schedule/translations/it.json index 507cd181f..0a902ee0f 100644 --- a/custom_components/waste_collection_schedule/translations/it.json +++ b/custom_components/waste_collection_schedule/translations/it.json @@ -15630,6 +15630,30 @@ "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." } }, + "args_royalgreenwich_gov_uk": { + "title": "Configurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nUsing a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). Find the collection day and the first bold text in the message below the search bar (right after \"At\" and before \":\") is your address, use it as-is.\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/royalgreenwich_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "address": "Address", + "house": "Casa", + "post_code": "Codice Postale CAP" + }, + "data_description": { + "calendar_title": "Puoi cambiare il nome del calendario della raccolta dei rifiuti, altrimenti di default verra' utilizzato il nome del tuo fornitore di servizi." + } + }, + "reconfigure_royalgreenwich_gov_uk": { + "title": "Riconfigurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nUsing a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). Find the collection day and the first bold text in the message below the search bar (right after \"At\" and before \":\") is your address, use it as-is.\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/royalgreenwich_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "address": "Address", + "house": "Casa", + "post_code": "Codice Postale CAP" + }, + "data_description": {} + }, "args_runnymede_gov_uk": { "title": "Configurazione Sorgente", "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. Maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/runnymede_gov_uk.md.", diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/royalgreenwich_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/royalgreenwich_gov_uk.py new file mode 100644 index 000000000..dfe55ef01 --- /dev/null +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/royalgreenwich_gov_uk.py @@ -0,0 +1,190 @@ +import datetime +from typing import Optional + +import requests +from bs4 import BeautifulSoup, Tag +from dateutil import parser +from waste_collection_schedule import Collection # type: ignore[attr-defined] +from waste_collection_schedule.exceptions import ( + SourceArgAmbiguousWithSuggestions, + SourceArgumentNotFound, + SourceArgumentRequired, +) + +TITLE = "Royal Borough Of Greenwich" +DESCRIPTION = "Source for services from the Royal Borough Of Greenwich" +URL = "https://www.royalgreenwich.gov.uk/" +TEST_CASES = { + "address": {"address": "25 - Tizzard Grove - London - SE3 9DH"}, + "houseNumber": {"post_code": "SE9 5AW", "house": "11"}, + "alternativeWeek": {"address": "32 - Glenlyon Road - London - SE9 1AJ"}, +} + +ADDRESS_SEARCH_URL = "https://www.royalgreenwich.gov.uk/site/custom_scripts/apps/waste-collection/new2023/source.php" + + +DAYS = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"] +ICON_MAP = { + "recycling": "mdi:recycle", + "garden": "mdi:leaf", + "food": "mdi:food-apple", +} + +# ### Arguments affecting the configuration GUI #### + +HOW_TO_GET_ARGUMENTS_DESCRIPTION = { # Optional dictionary to describe how to get the arguments, will be shown in the GUI configuration form above the input fields, does not need to be translated in all languages + "en": "Using a browser, go to [royalgreenwich.gov.uk](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). " + 'Find the collection day and the first bold text in the message below the search bar (right after "At" and before ":") is your address, use it as-is.' +} + +PARAM_DESCRIPTIONS = { # Optional dict to describe the arguments, will be shown in the GUI configuration below the respective input field + "en": { + "post_code": "Postcode", + "house": "House number or name", + "address": "Full address", + } +} + +# ### End of arguments affecting the configuration GUI #### + + +class Source: + def __init__( + self, + post_code: Optional[str] = None, + house: Optional[str] = None, + address: Optional[str] = None, + ): + self._post_code = post_code + self._house = house + self._address = address + + def _find_address(self) -> str: + if not self._post_code: + raise SourceArgumentRequired( + "post_code", "postcode is required if address is not provided" + ) + term_list = [self._post_code] + if self._house: + term_list.append(self._house) + + s = requests.Session() + search_term = " ".join(term_list) + r = s.get(ADDRESS_SEARCH_URL, params={"term": search_term}) + r.raise_for_status() + + addresses = r.json() + + if len(addresses) > 1: + raise SourceArgAmbiguousWithSuggestions("house", self._house, addresses) + + if len(addresses) == 0: + raise SourceArgumentNotFound("house", self._house) + + return addresses[0] + + def _get_black_top_bin_next_collection_date( + self, week_name: str, this_week_collection_date: datetime.date + ) -> datetime.date: + s = requests.Session() + r = s.get( + "https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/2436/black_top_bin_collections" + ) + r.raise_for_status() + + soup = BeautifulSoup(r.text, "html.parser") + + black_top_bin_schedule_table = soup.find("table") + if not isinstance(black_top_bin_schedule_table, Tag): + raise Exception("Could not find address form") + + headers = black_top_bin_schedule_table.find_all("th") + week_column_index = list(map(lambda h: h.text, headers)).index(week_name) + if week_column_index < 0: + raise Exception("Cannot find black top bin collection weeks") + + # e.g. Monday 1 January to Friday 5 January + first_week_dates_range_str: str = ( + black_top_bin_schedule_table.find("tbody") + .find("tr") + .find_all("td")[week_column_index] + .text + ) + + first_week_date = parser.parse( + first_week_dates_range_str.split(" to ")[0] + ).date() + + # we assume that this "first_week_date" is always Monday (as per schedule) + first_week_collection_date = first_week_date + datetime.timedelta( + this_week_collection_date.isoweekday() - 1 + ) + return ( + this_week_collection_date + datetime.timedelta(weeks=1) + if (this_week_collection_date - first_week_collection_date).days % 14 + else this_week_collection_date + ) + + def fetch(self) -> list[Collection]: + if not self._address: + self._address = self._find_address() + + s = requests.Session() + + r = s.get( + "https://www.royalgreenwich.gov.uk/site/custom_scripts/repo/apps/waste-collection/new2023/ajax-response-uprn.php", + params={"address": self._address}, + ) + r.raise_for_status() + + # even if address is part of the borough it doesn't mean they will provide data for it + # e.g. for flats they explicitly mentioned to contact management company instead + # so in this case address can be found in previous steps, but there is no data for it and this error is returned + if r.text == "ADDRESS_NOT_FOUND": + raise Exception(f"No data found for address '{self._address}'") + + data = r.json() + + collection_day = data["Day"] + black_top_bin_week = data["Frequency"] + + today = datetime.date.today() + collection_day_index = DAYS.index(collection_day.upper()) + 1 + this_week_collection_date = today + datetime.timedelta( + (collection_day_index - today.isoweekday()) % 7 + ) + + next_food_collection_date = self._get_black_top_bin_next_collection_date( + black_top_bin_week, this_week_collection_date + ) + + weeks_to_generate = 10 + + recycling_collections = [ + Collection( + date=this_week_collection_date + datetime.timedelta(weeks=i), + t="recycling", + icon=ICON_MAP.get("recycling"), + ) + for i in range(weeks_to_generate) + ] + + garden_collections = [ + Collection( + date=this_week_collection_date + datetime.timedelta(weeks=i), + t="garden", + icon=ICON_MAP.get("garden"), + ) + for i in range(weeks_to_generate) + ] + + food_collections = [ + Collection( + date=next_food_collection_date + datetime.timedelta(weeks=i * 2), + t="food", + icon=ICON_MAP.get("food"), + ) + for i in range(int(weeks_to_generate / 2)) + ] + + return recycling_collections + garden_collections + food_collections diff --git a/doc/source/royalgreenwich_gov_uk.md b/doc/source/royalgreenwich_gov_uk.md new file mode 100644 index 000000000..574447ae9 --- /dev/null +++ b/doc/source/royalgreenwich_gov_uk.md @@ -0,0 +1,61 @@ +# Royal Borough Of Greenwich + +Support for schedules provided by the [Royal Borough Of Greenwich](https://www.royalgreenwich.gov.uk/info/200171/recycling_and_rubbish/100/find_your_bin_collection_day). + +## Configuration via configuration.yaml + +```yaml +waste_collection_schedule: + sources: + - name: royalgreenwich_gov_uk + args: + post_code: POST_CODE + house: HOUSE_NUMBER + address: FULL_ADDRESS +``` + +### Configuration Variables + +**address** +*(string) (optional)* + +This is required if you do not supply any other options. (Using this removes the need to do an address look up web request) + +**house** +*(string) (optional)* + +This is required if you supply a Postcode. + +**post_code** +*(string) (optional)* + +This is required if you do not supply an Address. Single space between 1st and 2nd part of postcode is optional. + +#### How to find your `FULL_ADDRESS` + +An easy way to discover your full address is: + +1. Go to +1. Find your property and click "Search" button +1. First bold text in the message below the search bar (right after "At" and before ":") is your address, use it as-is. + +## Example using FULL_ADDRESS + +```yaml +waste_collection_schedule: + sources: + - name: royalgreenwich_gov_uk + args: + address: "32 - Glenlyon Road - London - SE9 1AJ" +``` + +## Example using Address lookup + +```yaml +waste_collection_schedule: + sources: + - name: royalgreenwich_gov_uk + args: + post_code: "SE9 5AW" + number: "11" +``` diff --git a/info.md b/info.md index 7e1fa88bb..6a0576f4f 100644 --- a/info.md +++ b/info.md @@ -38,7 +38,7 @@ Waste collection schedules from service provider web sites are updated daily, de | Slovenia | Moji odpadki, Ljubljana, Snaga Maribor | | Sweden | Affärsverken, Avfallsapp.se - Multi Source, Boden, Borås Energi och Miljö, EDPEvent - Multi Source, Gästrike Återvinnare, Jönköping - June Avfall & Miljö, Kretslopp Sydost, Kristianstad Renhållning, Landskrona - Svalövs Renhållning, Lerum Vatten och Avlopp, Linköping - Tekniska Verken, Luleå, Lund Waste Collection, Mölndal, Norrtalje Vatten & Avfall, North / Middle Bohuslän - Rambo AB, Region Gotland, Ronneby Miljöteknik, Roslagsvatten, Samverkan Återvinning Miljö (SÅM), Skellefteå, SRV Återvinning, SSAM (Deprecated), SSAM Södra Smalånds Avfall & Miljö, Sysav Sophämntning, Söderköping, Uppsala Vatten, Uppsala Vatten och Avfall AB (Deprecated), VA Syd Sophämntning, VIVAB Sophämtning, Västervik Miljö & Energi | | Switzerland | A-Region, Alchenstorf, Andwil, Appenzell, Berg, Bühler, Canton of Zürich, Eggersriet, Gais, Gaiserwald, Gasel, Goldach, Grosswangen, Grub, Heiden, Herisau, Horn, Hundwil, Häggenschwil, Köniz, Köniz, Liebefeld, Lindau, Lutzenberg, Mittelhäusern, Muolen, Mörschwil, Münchenstein, Münsingen BE, Switzerland, Nieder-/Oberscherli, Niederwangen, Oberwangen, Rapperswil, Real Luzern, Real Luzern, Rehetobel, Rorschach, Rorschacherberg, Sammelkalender.ch, Schliern, Schwellbrunn, Schönengrund, Seon, Speicher, Spiegel, Stadt Bülach, Stein, Steinach, Teufen, Thal, Thörishaus, Trogen, Tübach, Untereggen, Urnäsch, Wabern, Wald, Waldkirch, Waldstatt, Winterthur, Wittenbach, Wolfhalden, ZAKU Entsorgung, Zeba, ZKRI | -| United Kingdom | Aberdeenshire Council, Adur & Worthing Councils, Allerdale Borough Council, Amber Valley Borough Council, Anglesey, Antrim and Newtownabbey, Apps by imactivate, Ards and North Down Borough Council, Arun District Council, Ashfield District Council, Ashford Borough Council, Aylesbury Vale District Council, Barnsley Metropolitan Borough Council, Basildon Council, Basingstoke and Deane Borough Council, Bath & North East Somerset Council, BCP Council, Bedford Borough Council, Binzone, Birmingham City Council, Blackburn with Darwen Borough Council, Blackpool Council, Blaenau Gwent County Borough Council, Borough Council of King's Lynn & West Norfolk, Borough of Broxbourne Council, Bracknell Forest Council, Bradford Metropolitan District Council, Braintree District Council, Breckland Council, Brent Council, Bristol City Council, Broadland District Council, Bromsgrove City Council, Broxtowe Borough Council, Buckinghamshire: Former (Chiltern, South Bucks, Wycombe), Burnley Council, Bury Council, Caerphilly, Wales, Cambridge City Council, Cannock Chase Council, Canterbury City Council, Cardiff Council, Carmarthenshire County Council, Central Bedfordshire Council, Charnwood, Chelmsford City Council, Cherwell District Council, Cheshire East Council, Cheshire West and Chester Council, Chesterfield Borough Council, Chichester District Council, City of Doncaster Council, City Of Lincoln Council, City of York Council, Colchester City Council, Conwy County Borough Council, Cornwall Council, Crawley Borough Council (myCrawley), Croydon Council, Dacorum Borough Council, Darlington Borough Council, Denbighshire County Council, Deprecated: Buckinghamshire, Derby City Council, Dorset Council, Dover District Council, Dudley Metropolitan Borough Council, Dundee City Council, Dundee MyBins, Durham County Council, Ealing Council, East Ayrshire Council, East Cambridgeshire District Council, East Devon District Council, East Herts Council, East Lothian, East Northamptonshire and Wellingborough, East Renfrewshire Council, East Riding of Yorkshire Council, Eastbourne Borough Council, Eastleigh Borough Council, Elmbridge Borough Council, Environment First, Exeter City Council, Falkirk, Fareham Borough Council, FCC Environment, Fenland, Fenland District Council, Fife Council, Flintshire, Folkestone and Hythe District Councol, Fylde Council, Gateshead Council, Gedling Borough Council (unofficial), Glasgow City Council, Guildford Borough Council, Gwynedd, Harborough District Council, Haringey Council, Harlow Council, Hart District Council, Hastings Borough Council, Herefordshire City Council, High Peak Borough Council, Highland, Horsham District Council, Hull City Council, Huntingdonshire District Council, Islington Council, iTouchVision, Itouchvision Source using the encrypted API, Joint Waste Solutions, Kirklees Council, Lancaster City Council, Leeds, Leicester City Council, Lewes District Council, Lichfield District Council, Lisburn and Castlereagh City Council, Liverpool City Council, London Borough of Barking and Dagenham, London Borough of Bexley, London Borough of Bromley, London Borough of Camden, London Borough of Harrow, London Borough of Hounslow, London Borough of Lewisham, London Borough of Merton, London Borough of Newham, Luton, Maidstone Borough Council, Maldon District Council, Malvern Hills, Malvern Hills District Council, Manchester City Council, Mansfield District Council, Mendip District Council, Mid and East Antrim, Mid-Sussex District Council, Middlesbrough Council, Milton Keynes council, Moray Council, Newark & Sherwood District Council, Newcastle City Council, Newcastle Under Lyme Borough Council, Newport City Council, Newport City Council, North Ayrshire Council, North Herts Council, North Kesteven District Council, North Lanarkshire Council, North Lincolnshire Council, North Norfolk District Council, North Northamptonshire council, North Somerset Council, North West Leicestershire District Council, North Yorkshire Council - Hambleton, North Yorkshire Council - Harrogate, North Yorkshire Council - Scarborough, North Yorkshire Council - Selby, Nottingham City Council, Oadby and Wigston Council, Oxford City Council, Pembrokeshire County Council, Peterborough City Council, Portsmouth City Council, Reading Council, Redbridge Council, Reigate & Banstead Borough Council, Renfrewshire Council, Rhondda Cynon Taf County Borough Council, Richmondshire District Council, Rochdale Borough Council, Rotherham, Rotherham Metropolitan Borough Council, Runnymede Borough Council, Rushcliffe Brough Council, Rushmoor Borough Council, Salford City Council, Sedgemoor District Council, Sefton Council, Sheffield City Council, Shropshire Council, Solihull Council, Somerset Council, Somerset County Council, Somerset West & Taunton District Council, South Cambridgeshire District Council, South Derbyshire District Council, South Gloucestershire Council, South Hams District Council, South Holland District Council, South Kesteven District Council, South Norfolk Council, South Oxfordshire District Council, South Somerset District Council, South Tyneside Council, Southampton City Council, St Albans City & District Council, Stafford Borough Council, Stevenage Borough Council, Stirling.gov.uk, Stockport Council, Stockton-on-Tees Borough Council, Stoke-on-Trent, Stratford District Council, Stroud District Council, Sunderland City Council, Surrey Heath Borough Council, Sutton Council, London, Swale Borough Council, Swansea Council, Swindon Borough Council, Tameside Metropolitan Borough Council, Telford and Wrekin Council, Test Valley Borough Council, Tewkesbury Borough Council, Thanet District Council, The Royal Borough of Kingston Council, Tonbridge and Malling Borough Council, Tunbridge Wells, UK Bin Collection Schedule (UKBCD) project, Uttlesford District Council, Vale of Glamorgan Council, Vale of White Horse District Council, Wakefield Council, Walsall Council, Warrington Borough Council, Warwick District Council, Waverley Borough Council, Wealden District Council, Welwyn Hatfield Borough Council, West Berkshire Council, West Devon Borough Council, West Dunbartonshire Council, West Lothian Council, West Northamptonshire council, West Oxfordshire District Council, West Suffolk Council, Westmorland & Furness Council, Barrow area, Westmorland & Furness Council, South Lakeland area, Wigan Council, Wiltshire Council, Winchester City Council, Windsor and Maidenhead, Wirral Council, Woking Borough Council, Wokingham Borough Council, Worcester City, Wychavon, Wychavon District Council (Deprecated), Wyre Borough Council, Wyre Forest District Council | +| United Kingdom | Aberdeenshire Council, Adur & Worthing Councils, Allerdale Borough Council, Amber Valley Borough Council, Anglesey, Antrim and Newtownabbey, Apps by imactivate, Ards and North Down Borough Council, Arun District Council, Ashfield District Council, Ashford Borough Council, Aylesbury Vale District Council, Barnsley Metropolitan Borough Council, Basildon Council, Basingstoke and Deane Borough Council, Bath & North East Somerset Council, BCP Council, Bedford Borough Council, Binzone, Birmingham City Council, Blackburn with Darwen Borough Council, Blackpool Council, Blaenau Gwent County Borough Council, Borough Council of King's Lynn & West Norfolk, Borough of Broxbourne Council, Bracknell Forest Council, Bradford Metropolitan District Council, Braintree District Council, Breckland Council, Brent Council, Bristol City Council, Broadland District Council, Bromsgrove City Council, Broxtowe Borough Council, Buckinghamshire: Former (Chiltern, South Bucks, Wycombe), Burnley Council, Bury Council, Caerphilly, Wales, Cambridge City Council, Cannock Chase Council, Canterbury City Council, Cardiff Council, Carmarthenshire County Council, Central Bedfordshire Council, Charnwood, Chelmsford City Council, Cherwell District Council, Cheshire East Council, Cheshire West and Chester Council, Chesterfield Borough Council, Chichester District Council, City of Doncaster Council, City Of Lincoln Council, City of York Council, Colchester City Council, Conwy County Borough Council, Cornwall Council, Crawley Borough Council (myCrawley), Croydon Council, Dacorum Borough Council, Darlington Borough Council, Denbighshire County Council, Deprecated: Buckinghamshire, Derby City Council, Dorset Council, Dover District Council, Dudley Metropolitan Borough Council, Dundee City Council, Dundee MyBins, Durham County Council, Ealing Council, East Ayrshire Council, East Cambridgeshire District Council, East Devon District Council, East Herts Council, East Lothian, East Northamptonshire and Wellingborough, East Renfrewshire Council, East Riding of Yorkshire Council, Eastbourne Borough Council, Eastleigh Borough Council, Elmbridge Borough Council, Environment First, Exeter City Council, Falkirk, Fareham Borough Council, FCC Environment, Fenland, Fenland District Council, Fife Council, Flintshire, Folkestone and Hythe District Councol, Fylde Council, Gateshead Council, Gedling Borough Council (unofficial), Glasgow City Council, Guildford Borough Council, Gwynedd, Harborough District Council, Haringey Council, Harlow Council, Hart District Council, Hastings Borough Council, Herefordshire City Council, High Peak Borough Council, Highland, Horsham District Council, Hull City Council, Huntingdonshire District Council, Islington Council, iTouchVision, Itouchvision Source using the encrypted API, Joint Waste Solutions, Kirklees Council, Lancaster City Council, Leeds, Leicester City Council, Lewes District Council, Lichfield District Council, Lisburn and Castlereagh City Council, Liverpool City Council, London Borough of Barking and Dagenham, London Borough of Bexley, London Borough of Bromley, London Borough of Camden, London Borough of Harrow, London Borough of Hounslow, London Borough of Lewisham, London Borough of Merton, London Borough of Newham, Luton, Maidstone Borough Council, Maldon District Council, Malvern Hills, Malvern Hills District Council, Manchester City Council, Mansfield District Council, Mendip District Council, Mid and East Antrim, Mid-Sussex District Council, Middlesbrough Council, Milton Keynes council, Moray Council, Newark & Sherwood District Council, Newcastle City Council, Newcastle Under Lyme Borough Council, Newport City Council, Newport City Council, North Ayrshire Council, North Herts Council, North Kesteven District Council, North Lanarkshire Council, North Lincolnshire Council, North Norfolk District Council, North Northamptonshire council, North Somerset Council, North West Leicestershire District Council, North Yorkshire Council - Hambleton, North Yorkshire Council - Harrogate, North Yorkshire Council - Scarborough, North Yorkshire Council - Selby, Nottingham City Council, Oadby and Wigston Council, Oxford City Council, Pembrokeshire County Council, Peterborough City Council, Portsmouth City Council, Reading Council, Redbridge Council, Reigate & Banstead Borough Council, Renfrewshire Council, Rhondda Cynon Taf County Borough Council, Richmondshire District Council, Rochdale Borough Council, Rotherham, Rotherham Metropolitan Borough Council, Royal Borough Of Greenwich, Runnymede Borough Council, Rushcliffe Brough Council, Rushmoor Borough Council, Salford City Council, Sedgemoor District Council, Sefton Council, Sheffield City Council, Shropshire Council, Solihull Council, Somerset Council, Somerset County Council, Somerset West & Taunton District Council, South Cambridgeshire District Council, South Derbyshire District Council, South Gloucestershire Council, South Hams District Council, South Holland District Council, South Kesteven District Council, South Norfolk Council, South Oxfordshire District Council, South Somerset District Council, South Tyneside Council, Southampton City Council, St Albans City & District Council, Stafford Borough Council, Stevenage Borough Council, Stirling.gov.uk, Stockport Council, Stockton-on-Tees Borough Council, Stoke-on-Trent, Stratford District Council, Stroud District Council, Sunderland City Council, Surrey Heath Borough Council, Sutton Council, London, Swale Borough Council, Swansea Council, Swindon Borough Council, Tameside Metropolitan Borough Council, Telford and Wrekin Council, Test Valley Borough Council, Tewkesbury Borough Council, Thanet District Council, The Royal Borough of Kingston Council, Tonbridge and Malling Borough Council, Tunbridge Wells, UK Bin Collection Schedule (UKBCD) project, Uttlesford District Council, Vale of Glamorgan Council, Vale of White Horse District Council, Wakefield Council, Walsall Council, Warrington Borough Council, Warwick District Council, Waverley Borough Council, Wealden District Council, Welwyn Hatfield Borough Council, West Berkshire Council, West Devon Borough Council, West Dunbartonshire Council, West Lothian Council, West Northamptonshire council, West Oxfordshire District Council, West Suffolk Council, Westmorland & Furness Council, Barrow area, Westmorland & Furness Council, South Lakeland area, Wigan Council, Wiltshire Council, Winchester City Council, Windsor and Maidenhead, Wirral Council, Woking Borough Council, Wokingham Borough Council, Worcester City, Wychavon, Wychavon District Council (Deprecated), Wyre Borough Council, Wyre Forest District Council | | United States of America | Albuquerque, New Mexico, USA, City of Austin, TX, City of Bloomington, City of Cambridge, City of Gastonia, NC, City of Georgetown, TX, City of Los Angeles, CA, City of McKinney, TX, City of Oklahoma City (unofficial), City of Pittsburgh, Hardin Sanitation, Idaho, USA, Louisville, Kentucky, USA, Minneapolis MN USA, New York City, Newark, Delaware, USA, Olympia, Washington, USA, ReCollect, Recycle Coach, Republic Services, Round Rock Texas, Seattle Public Utilities, Tacoma, Washington, USA, Tucson, Arizona, USA, University Park, TX, Waste Connections |