Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.55 KB

grafikai_svara_lt.md

File metadata and controls

63 lines (49 loc) · 1.55 KB

Kauno švara

Support for schedules provided by Kauno švara.

Configuration via configuration.yaml

waste_collection_schedule:
  sources:
    - name: grafikai_svara_lt
      args:
        region: CITY
        street: STREET_NAME
        house_number: HOUSE_NUMBER
        district: DISTRICT
        waste_object_ids:
          - WASTE_OBJECT_ID

Configuration Variables

region
(string) (required)

street
(string) (required)

house_number
(string) (required)

district
(string) (optional)

waste_object_ids
(list) (optional)

Example

waste_collection_schedule:
  sources:
    - name: grafikai_svara_lt
      args:
        region: Kauno m. sav.
        street: Demokratų g.
        house_number: 7
        district: DISTRICT
        waste_object_ids:
          - 101358
          - 100858
          - 100860

How to get the source arguments

Visit the Grafikai page and search for your address. The arguments should exactly match the following table below. To include waste object id's at search results page, copy url from "Atsisiųsti" button and take "wasteObjectId" parameter.

Parameter name in grafikai.svara.lt Argument in yaml
Regionas region
Gatvė street
Namo nr. house_number
Seniūnija district