Add AWG Bassum / LK Diepholz (#2173)

* Create awg_bassum.md

Waste Collection configuration for AWG Bassum

* add yaml file + add instruction for current year field + rename to ..._de...

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
engels0n
2024-06-21 18:10:03 +02:00
committed by GitHub
parent dd4d523b0e
commit 3e8da8667a
5 changed files with 42 additions and 1 deletions

View File

@@ -637,6 +637,7 @@ Waste collection schedules in the following formats and countries are supported.
- [AWB Landkreis Fürstenfeldbruck](/doc/source/awido_de.md) / awb-ffb.de
- [AWB Oldenburg](/doc/source/awb_oldenburg_de.md) / oldenburg.de
- [AWB Westerwaldkreis](/doc/source/abfall_io.md) / wab.rlp.de
- [AWG Bassum](/doc/ics/awg_bassum_de.md) / awg-bassum.de
- [AWG Donau-Wald](/doc/source/app_abfallplus_de.md) / Abfall+ App: zawdw
- [AWG Kreis Warendorf](/doc/source/abfallnavi_de.md) / awg-waf.de
- [AWIDO Online](/doc/source/awido_de.md) / awido-online.de

26
doc/ics/awg_bassum_de.md Normal file
View File

@@ -0,0 +1,26 @@
# AWG Bassum
AWG Bassum is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description.
## How to get the configuration arguments
- Go to <https://www.awg-bassum.de/abfuhrkalender.html>
- Click on "Ort wählen" and choose your location
- Type in your street address in "Ihre Straße"
- Click on the name of your street
- Scroll down and copy the link of "iCal herunterladen".
- Replace the `url` in the example configuration with this link.
- Replace the year in the URL with `{%Y}` to automatically get the current year.
## Examples
### Bassum / Alte Poststraße
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://www.awg-bassum.de/abfuhrkalender.html?year={%Y}&city=Bassum&street=Alte%20Poststr.&slug=Alte%20Poststr.------Bassum--27211--Bassum&ical=1
```

View File

@@ -0,0 +1,13 @@
title: AWG Bassum
url: https://awg-bassum.de
howto: |
- Go to <https://www.awg-bassum.de/abfuhrkalender.html>
- Click on "Ort wählen" and choose your location
- Type in your street address in "Ihre Straße"
- Click on the name of your street
- Scroll down and copy the link of "iCal herunterladen".
- Replace the `url` in the example configuration with this link.
- Replace the year in the URL with `{%Y}` to automatically get the current year.
test_cases:
Bassum / Alte Poststraße:
url: "https://www.awg-bassum.de/abfuhrkalender.html?year={%Y}&city=Bassum&street=Alte%20Poststr.&slug=Alte%20Poststr.------Bassum--27211--Bassum&ical=1"

View File

@@ -172,6 +172,7 @@ This source has been successfully tested with the following service providers:
- [Altmarkkreis Salzwedel](/doc/ics/abfall_app_net.md) / altmarkkreis-salzwedel.de
- [ART Trier](/doc/ics/art_trier_de.md) / art-trier.de
- [AVL - Abfallverwertungsgesellschaft des Landkreises Ludwigsburg mbH](/doc/ics/avl_ludwigsburg_de.md) / avl-ludwigsburg.de
- [AWG Bassum](/doc/ics/awg_bassum_de.md) / awg-bassum.de
- [Awista Starnberg](/doc/ics/awista_starnberg_de.md) / awista-starnberg.de
- [AZV Stadt und Landkreis Hof](/doc/ics/azv_hof_de.md) / azv-hof.de
- [Bamberg (Stadt und Landkreis)](/doc/ics/abfalltermine_bamberg_de.md) / abfalltermine-bamberg.de

File diff suppressed because one or more lines are too long