add ICS Docuementation for LK Schwandorf, Germany

This commit is contained in:
5ila5
2024-04-09 16:43:27 +02:00
committed by 5ila5
parent a9efde71a0
commit 2a66c4a0de
5 changed files with 39 additions and 1 deletions

View File

@@ -854,6 +854,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Langen](/doc/source/jumomind_de.md) / kbl-langen.de
- [Lebacher Abfallzweckverband (LAZ)](/doc/ics/lebach_de.md) / lebach.de
- [Leverkusen](/doc/source/app_abfallplus_de.md) / Abfall+ App: avea
- [LK Schwandorf](/doc/ics/entsorgung_sad_de.md) / entsorgung-sad.de
- [Ludwigshafen](/doc/source/app_abfallplus_de.md) / Abfall+ App: abfalllu
- [Ludwigshafen am Rhein](/doc/source/abfall_io.md) / ludwigshafen.de
- [Lübbecke (Jumomind)](/doc/source/jumomind_de.md) / luebbecke.de

View File

@@ -0,0 +1,24 @@
# LK Schwandorf
LK Schwandorf 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
- Goto <https://entsorgung-sad.de> and select your location.
- Click on `ICS-Datei herunterladen` copy the download link of the downloaded ics file.
- Replace the `url` in the example configuration with this link.
- The `regex` is used to extract the pickup date from the event title.
## Examples
### 93133 Hauptstraße
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
regex: (.*) \d{2}.\d{2}.\d{4}$
url: https://entsorgung-sad.de/steuerung/ics.php?plz=93133&ort=Burglengenfeld&ort_ID=4&strasse=Hauptstra%C3%9Fe&rm=202&pt=407&ws=417&spm=0&nr=&zusatz=&email=
```

View File

@@ -0,0 +1,12 @@
title: LK Schwandorf
url: https://entsorgung-sad.de
howto: |
- Goto <https://entsorgung-sad.de> and select your location.
- Click on `ICS-Datei herunterladen` copy the download link of the downloaded ics file.
- Replace the `url` in the example configuration with this link.
- The `regex` is used to extract the pickup date from the event title.
test_cases:
93133 Hauptstraße:
url: "https://entsorgung-sad.de/steuerung/ics.php?plz=93133&ort=Burglengenfeld&ort_ID=4&strasse=Hauptstra%C3%9Fe&rm=202&pt=407&ws=417&spm=0&nr=&zusatz=&email="
regex: (.*) \d{2}.\d{2}.\d{4}$

View File

@@ -199,6 +199,7 @@ This source has been successfully tested with the following service providers:
- [Landkreis Vogtland](/doc/ics/vogtlandkreis_de.md) / vogtlandkreis.de
- [Landratsamt Bodenseekreis](/doc/ics/bodenseekreis_de.md) / bodenseekreis.de
- [Lebacher Abfallzweckverband (LAZ)](/doc/ics/lebach_de.md) / lebach.de
- [LK Schwandorf](/doc/ics/entsorgung_sad_de.md) / entsorgung-sad.de
- [Lübeck Entsorgungsbetriebe](/doc/ics/luebeck_de.md) / luebeck.de
- [Mein-Abfallkalender.de](/doc/ics/mein_abfallkalender_de.md) / mein-abfallkalender.de
- [Neu Ulm](/doc/ics/neu_ulm_de.md) / neu-ulm.de

File diff suppressed because one or more lines are too long