Files
5ila5 f0f4097345 add inital pytest for broad error detection
This will find errors in missing py/md source files
missing Key arguments of a source file (Title, Description ...)
2024-08-02 22:18:47 +02:00

1.4 KiB

Sandnes Kommune, Norway

Support for schedules provided by Sandnes Kommune, Norway.

Configuration via configuration.yaml

waste_collection_schedule:
  sources:
    - name: sandnes_no
      args:
        id: ID
        municipality: municipality
        gnumber: gnumber
        bnumber: bnumber
        snumber: snumber

Configuration Variables

id
(string) (required)

municipality
(string) (required)

gnumber
(string) (required)

bnumber
(string) (required)

snumber
(string) (required)

Example

waste_collection_schedule:
  sources:
    - name: sandnes_no
      args:
        id: "181e5aac-3c88-4b0b-ad46-3bd246c2be2c"
        municipality: "Sandnes kommune 2020"
        gnumber: "62"
        bnumber: "281"
        snumber: "0"

How to get the source arguments

Visit the Sandnes Kommune, Norway page and search for your address. use the parameters for url

Example URL

https://www.hentavfall.no/rogaland/sandnes/tommekalender/finn-kalender/show?id=181e5aac-3c88-4b0b-ad46-3bd246c2be2c&municipality=Sandnes%20kommune%202020&gnumber=62&bnumber=281&snumber=0

Extract the arguments from this url you get. In this example

id=181e5aac-3c88-4b0b-ad46-3bd246c2be2c municipality=Sandnes kommune 2020 gnumber=62 bnumber=281 snumber=0