Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.9 KB

abfall_zollernalbkreis_de.md

File metadata and controls

63 lines (47 loc) · 1.9 KB

Abfallwirtschaft Zollernalbkreis

Support for schedules provided by https://www.abfallkalender-zak.de/.

Configuration via configuration.yaml

waste_collection_schedule:
  sources:
    - name: abfall_zollernalbkreis_de
      args:
        city: CITY
        street: STREET

Configuration Variables

city
(string) (required)

street
(string) (optional)

types (not supported anymore use customize parameter instead)

Example

waste_collection_schedule:
  sources:
    - name: abfall_zollernalbkreis_de
      args:
        city: "Ebingen"
        street: "Am schnecklesfelsen"
waste_collection_schedule:
  sources:
    - name: abfall_zollernalbkreis_de
      args:
        city: "Schlatt"

How to get the source arguments

Using city/street names

  1. Open https://www.abfallkalender-zak.de/.
  2. Enter your data
  3. Use the city and street names as arguments (write them exactly like in the dropdown menu).

Using city/street IDs: Hardcore Variant: Extract arguments from website

Another way get the source arguments is to extract the arguments from the website using a (desktop) browser with developer tools, e.g. Google Chrome:

  1. Open https://www.abfallkalender-zak.de/.
  2. Enter your data, but don't click on "ICS Download" so far!
  3. Open the Developer Tools (Ctrl + Shift + I) and open the Network tab.
  4. Now click the "ICS Download" button.
  5. You should see (amongst other's) one POST entry to Host https://www.abfallkalender-zak.de/ labeled / in the network recording.
  6. Select / on the left hand side and click on Request on the right hand side.
  7. At the Form Data you can find the values for city and street.