diff --git a/README.md b/README.md index 70a34cda7..f9a50bb94 100644 --- a/README.md +++ b/README.md @@ -2174,6 +2174,7 @@ If your service provider is not listed, feel free to open a [source request issu - [West Berkshire Council](/doc/source/westberks_gov_uk.md) / westberks.gov.uk - [West Devon Borough Council](/doc/source/fccenvironment_co_uk.md) / westdevon.gov.uk - [West Dunbartonshire Council](/doc/source/west_dunbartonshire_gov_uk.md) / west-dunbarton.gov.uk +- [West Lothian Council](/doc/source/westlothian_gov_uk.md) / westlothian.gov.uk - [West Northamptonshire council](/doc/source/westnorthants_gov_uk.md) / westnorthants.gov.uk - [West Oxfordshire District Council](/doc/source/westoxon_gov_uk.md) / westoxon.gov.uk - [West Suffolk Council](/doc/source/westsuffolk_gov_uk.md) / westsuffolk.gov.uk diff --git a/custom_components/waste_collection_schedule/sources.json b/custom_components/waste_collection_schedule/sources.json index a3c860c0d..a0f22cbce 100644 --- a/custom_components/waste_collection_schedule/sources.json +++ b/custom_components/waste_collection_schedule/sources.json @@ -13761,6 +13761,12 @@ "default_params": {}, "id": "west_dunbartonshire_gov_uk" }, + { + "title": "West Lothian Council", + "module": "westlothian_gov_uk", + "default_params": {}, + "id": "westlothian_gov_uk" + }, { "title": "West Northamptonshire council", "module": "westnorthants_gov_uk", diff --git a/custom_components/waste_collection_schedule/translations/de.json b/custom_components/waste_collection_schedule/translations/de.json index cc3ce0385..82b78abc4 100644 --- a/custom_components/waste_collection_schedule/translations/de.json +++ b/custom_components/waste_collection_schedule/translations/de.json @@ -15940,6 +15940,31 @@ "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_westlothian_gov_uk": { + "title": "Quelle konfigurieren", + "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westlothian_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "postcode": "PLZ", + "uprn": "UPRN" + }, + "data_description": { + "calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet.", + "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." + } + }, + "reconfigure_westlothian_gov_uk": { + "title": "Quelle Neu Konfigurieren", + "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westlothian_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "postcode": "PLZ", + "uprn": "UPRN" + }, + "data_description": { + "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_westnorthants_gov_uk": { "title": "Quelle konfigurieren", "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westnorthants_gov_uk.md", diff --git a/custom_components/waste_collection_schedule/translations/en.json b/custom_components/waste_collection_schedule/translations/en.json index f6d38a361..44f52857e 100644 --- a/custom_components/waste_collection_schedule/translations/en.json +++ b/custom_components/waste_collection_schedule/translations/en.json @@ -15953,6 +15953,31 @@ "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_westlothian_gov_uk": { + "title": "Configure Source", + "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westlothian_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "postcode": "Postcode", + "uprn": "UPRN" + }, + "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.", + "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." + } + }, + "reconfigure_westlothian_gov_uk": { + "title": "Reconfigure Source", + "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westlothian_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "postcode": "Postcode", + "uprn": "UPRN" + }, + "data_description": { + "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_westnorthants_gov_uk": { "title": "Configure Source", "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westnorthants_gov_uk.md.", diff --git a/custom_components/waste_collection_schedule/translations/it.json b/custom_components/waste_collection_schedule/translations/it.json index 59e8e342c..7d3809fc5 100644 --- a/custom_components/waste_collection_schedule/translations/it.json +++ b/custom_components/waste_collection_schedule/translations/it.json @@ -15929,6 +15929,31 @@ "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_westlothian_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/westlothian_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "postcode": "Codice Postale CAP", + "uprn": "UPRN" + }, + "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.", + "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." + } + }, + "reconfigure_westlothian_gov_uk": { + "title": "Riconfigurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. Per maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/westlothian_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "postcode": "Codice Postale CAP", + "uprn": "UPRN" + }, + "data_description": { + "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_westnorthants_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/westnorthants_gov_uk.md.", diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/westlothian_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/westlothian_gov_uk.py new file mode 100644 index 000000000..fd325469f --- /dev/null +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/westlothian_gov_uk.py @@ -0,0 +1,168 @@ +import base64 +import json +import re +from urllib.parse import parse_qs, urlparse +import requests +from bs4 import BeautifulSoup +# from dateutil import parser +from datetime import datetime +from waste_collection_schedule.collection import Collection # type: ignore[attr-defined] +from waste_collection_schedule.service.ICS import ICS # type: ignore[attr-defined] + + +TITLE = "West Lothian Council" +DESCRIPTION = "Source for services for West Lothian" +URL = "https://www.westlothian.gov.uk" +COLLECTION_PAGE_URL = "https://www.westlothian.gov.uk/bin-collections" + +TEST_CASES = { + "Test_001": {"postcode": "EH48+4DD", "uprn": "135007799"}, + "Test_002": {"postcode": "EH55+8FJ", "uprn": "135051417"}, +} + +ICON_MAP = { + "Grey": "mdi:trash-can", + "Brown": "mdi:leaf", + "Green": "mdi:glass-fragile", + "Blue": "mdi:note", +} + + +class Source: + def __init__(self, postcode, uprn): + self._postcode = postcode + self._uprn = str(uprn) + self._ics = ICS() + + def fetch(self): + session = requests.Session() + session.headers = { + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8", + "Sec-Fetch-Dest": "document", + "Host": "www.westlothian.gov.uk", + "Sec-Fetch-User": "?1", + "Accept-Language": "en-GB,en;q=0.5", + "Accept-Encoding": "gzip, deflate, br", + "Connection": "keep-alive", + "Referer": "westlothian.gov.uk", + "Cache-Control": "no-cache", + "DNT": "1" + } + address_page = self.__get_address_page(session) + bin_collection_info_page = self.__get_bin_collection_info_page( + session, address_page, self._postcode, self._uprn + ) + bin_collection_info = self.__get_ical_bin_collection_info(bin_collection_info_page) + if bin_collection_info.get("ICALCONTENT", {}).get("value", {}).get("error", None) is not None: + # West Lothian have broken their iCal generation again - use the page content + bin_collection_info = self.__get_immediate_bin_collection_info(bin_collection_info_page) + return self.__generate_collection_entries(bin_collection_info) + + def __generate_collection_entries(self, bin_collection_info): + icalContent = bin_collection_info.get("ICALCONTENT") + webpageContent = bin_collection_info.get("PAGE2_1") + if icalContent is not None: + if icalContent['error'] is not None: + raise Exception(icalContent['error']) + # iCal data returned isn't compatible with _ics.convert because it's UNTIL values + # don't specify a timezone, but the ICS module asks for "timezone-aware" parsing. + # So, change the UNTILs to be Z because they're date only and are UK-based. + ics_data = re.sub( + r"UNTIL=([0-9]+)", + lambda m: "UNTIL=" + m.group(1) + "Z", + icalContent["value"], + ) + dates = self._ics.convert(ics_data) + entries = [] + for d in dates: + icon = ICON_MAP.get(d[1].split(" ")[0]) + if icon is None: + icon = ICON_MAP.get(d[1]) + entries.append(Collection(d[0], d[1], icon=icon)) + + return entries + else: + if webpageContent is not None: + collections = json.loads(webpageContent["COLLECTIONS"]) + entries = [] + for d in collections: + icon = ICON_MAP.get(d['binName'].split(" ")[0]) + if icon is None: + icon = ICON_MAP.get(d['binType']) + entries.append(Collection(datetime.strptime(d['nextCollectionISO'], "%Y-%m-%d").date(), d['binType'], icon=icon)) + + return entries + raise Exception('No entries could be parsed') + + def __get_ical_bin_collection_info(self, bin_collection_info_page): + serialized_collection_info_pattern = re.compile( + r'var WLBINCOLLECTIONSerializedVariables = "(.*?)";$', + re.MULTILINE | re.DOTALL, + ) + soup = BeautifulSoup(bin_collection_info_page, "html.parser") + script = soup.find("script", text=serialized_collection_info_pattern) + if not script: + raise Exception( + "no script tag cannot find WLBINCOLLECTIONSerializedVariables" + ) + match = serialized_collection_info_pattern.search(script.text) + if not match: + raise Exception("no match cannot find WLBINCOLLECTIONSerializedVariables") + serialized_collection_info = match.group(1) + collection_info = json.loads(base64.b64decode(serialized_collection_info)) + return collection_info + + def __get_immediate_bin_collection_info(self, bin_collection_info_page): + serialized_collection_info_pattern = re.compile( + r'var WLBINCOLLECTIONFormData = "(.*?)";$', + re.MULTILINE | re.DOTALL, + ) + soup = BeautifulSoup(bin_collection_info_page, "html.parser") + script = soup.find("script", text=serialized_collection_info_pattern) + if not script: + raise Exception( + "no script tag cannot find WLBINCOLLECTIONFormData" + ) + match = serialized_collection_info_pattern.search(script.text) + if not match: + raise Exception("no match cannot find WLBINCOLLECTIONFormData") + serialized_collection_info = match.group(1) + collection_info = json.loads(base64.b64decode(serialized_collection_info)) + return collection_info + + def __get_bin_collection_info_page(self, session, address_page, postcode, uprn): + soup = BeautifulSoup(address_page, "html.parser") + form = soup.find(id="WLBINCOLLECTION_FORM") + goss_ids = self.__get_goss_form_ids(form["action"]) + r = session.post( + form["action"], + allow_redirects=True, + data={ + "WLBINCOLLECTION_PAGESESSIONID": goss_ids["page_session_id"], + "WLBINCOLLECTION_SESSIONID": goss_ids["session_id"], + "WLBINCOLLECTION_NONCE": goss_ids["nonce"], + "WLBINCOLLECTION_VARIABLES": "e30=", + "WLBINCOLLECTION_PAGENAME": "PAGE1", + "WLBINCOLLECTION_PAGEINSTANCE": "0", + "WLBINCOLLECTION_PAGE1_UPRN": uprn, + "WLBINCOLLECTION_PAGE1_ADDRESSLOOKUPPOSTCODE": postcode, + "WLBINCOLLECTION_PAGE1_ADDRESSLOOKUPADDRESS": "4", + "WLBINCOLLECTION_FORMACTION_NEXT": "WLBINCOLLECTION_PAGE1_NAVBUTTONS", + }) + r.raise_for_status() + return r.text + + def __get_address_page(self, s): + r = s.get(COLLECTION_PAGE_URL) + r.raise_for_status() + return r.text + + def __get_goss_form_ids(self, url): + parsed_form_url = urlparse(url) + form_url_values = parse_qs(parsed_form_url.query) + return { + "page_session_id": form_url_values["pageSessionId"][0], + "session_id": form_url_values["fsid"][0], + "nonce": form_url_values["fsn"][0], + } \ No newline at end of file diff --git a/doc/source/westlothian_gov_uk.md b/doc/source/westlothian_gov_uk.md new file mode 100644 index 000000000..89bf4a64c --- /dev/null +++ b/doc/source/westlothian_gov_uk.md @@ -0,0 +1,37 @@ +# East Renfrewshire Council + +Support for schedules provided by [West Lothian Council](https://www.westlothian.gov.uk/bin-collections). + +## Configuration via configuration.yaml + +```yaml +waste_collection_schedule: + sources: + - name: westlothian_gov_uk + args: + postcode: POSTCODE + uprn: UNIQUE_PROPERTY_REFERENCE_NUMBER +``` + +### Configuration Variables + +**postcode** +*(string) (required)* + +**uprn** +*(string) (required)* + +## Example + +```yaml +waste_collection_schedule: + sources: + - name: westlothian_gov_uk + args: + postcode: "EH55 8FJ" + uprn: "135051417" +``` + +## How to find your `UPRN` + +An easy way to find your Unique Property Reference Number (UPRN) is by going to and entering your address details. diff --git a/info.md b/info.md index dd07ba2c9..9e6e16159 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, 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 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, 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, Swansea Council, Swindon Borough Council, Tameside Metropolitan Borough Council, Telford and Wrekin Council, Test Valley Borough Council, Tewkesbury Borough 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, 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 Northamptonshire council, West Oxfordshire District Council, West Suffolk Council, Westmorland & Furness Council, Barrow area, Westmorland & Furness Council, South Lakeland area, Wigan Council, Wiltshire 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 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, 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, Swansea Council, Swindon Borough Council, Tameside Metropolitan Borough Council, Telford and Wrekin Council, Test Valley Borough Council, Tewkesbury Borough 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, 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, 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 McKinney, TX, City of Oklahoma City (unofficial), City of Pittsburgh, Louisville, Kentucky, USA, New York City, Newark, Delaware, USA, Olympia, Washington, USA, ReCollect, Recycle Coach, Republic Services, Round Rock Texas, Seattle Public Utilities, Tucson, Arizona, USA, University Park, TX, Waste Connections |