Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.4 KB

sandnes_no.md

File metadata and controls

65 lines (48 loc) · 1.4 KB

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