Files
hacs_waste_collection_schedule/doc/source/bury_gov_uk.md
Joe Ashworth 6895e9a9ac Adding Bury Council, UK (#2088)
* Adding Bury Council, UK

* Changing ID to UPRN

* Adding docs and info.md

* Adding docs and info.md

* Changing regex and uprn to ID

* reformatting + one id test case integer + change UPRN to id in md file

---------

Co-authored-by: Joe Ashworth <joe@joeashworth.io>
Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-05-17 14:09:00 +02:00

1.3 KiB

Bury Council

Support for schedules provided by Bury Council, serving Bury, UK.

Configuration via configuration.yaml

waste_collection_schedule:
    sources:
    - name: bury_gov_uk
      args:
        id: PROPERTY_ID
        postcode: POSTCODE
        address: ADDRESS

Configuration Variables

id
(string) (optional)

postcode
(string) (optional)

address
(string) (optional)

Example using UPRN

waste_collection_schedule:
    sources:
    - name: bury_gov_uk
      args:
        id: "647186"

Example using Address and Postcode

waste_collection_schedule:
    sources:
    - name: bury_gov_uk
      args:
        address: "1 Oakwood Close"
        postcode: "BL8 1DD"

How to find your PROPERTY_ID

Your PROPERTY_ID is the collection of numbers at the end of the url when viewing your collection schedule in Developer Tools on the Bury Council web site.

For example: https://www.bury.gov.uk/app-services/getPropertyById?id=647186

You have to navigate to https://www.bury.gov.uk/waste-and-recycling/bin-collection-days-and-alerts, open Dev Tools, Select Network and then input your Postcode and select your Address. The URL should appear as network traffic.