adding apm_de ical source

This commit is contained in:
5ila5
2023-04-15 14:36:21 +02:00
parent e5df071692
commit 4e8c96c9e4
5 changed files with 36 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Abfallwirtschaft Nürnberger Land](/doc/source/nuernberger_land_de.md) / nuernberger-land.de
- [Abfallwirtschaft Ortenaukreis](/doc/source/abfall_io.md) / abfallwirtschaft-ortenaukreis.de
- [Abfallwirtschaft Pforzheim](/doc/source/abfallwirtschaft_pforzheim_de.md) / abfallwirtschaft-pforzheim.de
- [Abfallwirtschaft Potsdam-Mittelmark (APM)](/doc/ics/apm_de.md) / apm-niemegk.de
- [Abfallwirtschaft Rems-Murr](/doc/source/awido_de.md) / abfallwirtschaft-rems-murr.de
- [Abfallwirtschaft Rendsburg](/doc/source/awr_de.md) / awr.de
- [Abfallwirtschaft Rheingau-Taunus-Kreis](/doc/source/c_trace_de.md) / eaw-rheingau-taunus.de

23
doc/ics/apm_de.md Normal file
View File

@@ -0,0 +1,23 @@
# Abfallwirtschaft Potsdam-Mittelmark (APM)
Abfallwirtschaft Potsdam-Mittelmark (APM) 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://www.apm-niemegk.de/kundenservice/abfuhrtermine/> and select your location.
- Click on `Exportieren iCal` to get a webcal link below `URL in Kalender-App einbinden`.
- Replace the `url` in the example configuration with this link.
- Replace the Year in the URL with `{%Y}`
## Examples
### Altbensdorf
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://apm.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/List/155643/1427,1429,1431,1433,1434,1435,1436,1437/180/Print/ics/Default/Abfuhrtermine.ics
```

10
doc/ics/yaml/apm_de.yaml Normal file
View File

@@ -0,0 +1,10 @@
title: Abfallwirtschaft Potsdam-Mittelmark (APM)
url: https://www.apm-niemegk.de/
howto: |
- Goto <https://www.apm-niemegk.de/kundenservice/abfuhrtermine/> and select your location.
- Click on `Exportieren iCal` to get a webcal link below `URL in Kalender-App einbinden`.
- Replace the `url` in the example configuration with this link.
- Replace the Year in the URL with `{%Y}`
test_cases:
Altbensdorf:
url: "https://apm.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/List/155643/1427,1429,1431,1433,1434,1435,1436,1437/180/Print/ics/Default/Abfuhrtermine.ics"

View File

@@ -13,6 +13,7 @@ This source has been successfully tested with the following service providers:
- [Abfallbehandlungsgesellschaft Havelland mbH (abh)](/doc/ics/abfall_havelland_de.md) / abfall-havelland.de
- [Abfallwirtschaft Freiburg](/doc/ics/abfallwirtschaft_freiburg_de.md) / abfall-eglz.de
- [Abfallwirtschaft Potsdam-Mittelmark (APM)](/doc/ics/apm_de.md) / apm-niemegk.de
- [Abfallwirtschaftsbetrieb Ilm-Kreis](/doc/ics/ilm_kreis_de.md) / ilm-kreis.de
- [Abfallwirtschaftsbetrieb Landkreis Karlsruhe](/doc/ics/awb_landkreis_karlsruhe_de.md) / awb-landkreis-karlsruhe.de
- [Abfallwirtschaftsbetrieb München](/doc/ics/awm_muenchen_de.md) / awm-muenchen.de

File diff suppressed because one or more lines are too long