Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 1.6 KB

peterborough_gov_uk.md

File metadata and controls

61 lines (46 loc) · 1.6 KB

Peterborough City Council

Support for schedules provided by Peterborough City Council.

Configuration via configuration.yaml

waste_collection_schedule:
    sources:
    - name: peterborough_gov_uk
      args:
        uprn: UNIQUE_PROPERTY_REFERENCE_NUMBER
        post_code: POST_CODE
        name: HOUSE_NAME
        number: HOUSE_NUMBER

Configuration Variables

uprn
(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)

name
(string) (optional)

This is required if you supply a Postcode and do not have a house number.

number
(string) (optional)

This is required if you supply a Postcode and have a house number.

post_code
(string) (optional)

This is required if you do not supply a UPRN. Single space between 1st and 2nd part of postcode is optional.

How to find your 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. Otherwise you can inspect the web requests the Peterborough Council website makes when entering in your postcode and then selecting your address.

Example using UPRN

waste_collection_schedule:
    sources:
    - name: peterborough_gov_uk
      args:
        uprn: 100090214774

Example using Address lookup

waste_collection_schedule:
    sources:
    - name: peterborough_gov_uk
      args:
        post_code: PE57AX
        number: 1