[Issue-1966] Added Source "Stadt Mainhausen" (#1967)

* added yaml config for city Mainhausen

* updated links in README and info

---------

Co-authored-by: Steffen Meiselbach <smeiselbach@solteccon.de>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
This commit is contained in:
bloodscript
2024-04-12 12:08:37 +02:00
committed by GitHub
parent 5cac392066
commit c248bf8ddf
5 changed files with 56 additions and 1 deletions

View File

@@ -927,6 +927,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Stadt Kaufbeuren](/doc/source/awido_de.md) / kaufbeuren.de
- [Stadt Koblenz](/doc/ics/koblenz_de.md) / koblenz.de
- [Stadt Landshut](/doc/source/abfall_io.md) / landshut.de
- [Stadt Mainhausen](/doc/ics/stadt_mainhausen_de.md) / mainhausen.de
- [Stadt Maintal](/doc/source/muellmax_de.md) / maintal.de
- [Stadt Memmingen](/doc/source/awido_de.md) / umwelt.memmingen.de
- [Stadt Messstetten](/doc/source/cmcitymedia_de.md) / cmcitymedia.de

View File

@@ -0,0 +1,40 @@
# Stadt Mainhausen
Stadt Mainhausen 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.mainhausen.de/download-muellkalender> and select your street name.
- Right-click on `Download Kalenderdatei nur Bezirke mit *selected street name*` and copy link address.
- Replace the `url` in the example configuration with this link.
## Examples
### Breslauer Straße
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://www.mainhausen.de/municipal/subscribe/trash/15
```
### Aussiger Straße
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://www.mainhausen.de/municipal/subscribe/trash/9
```
### Mainflinger Straße
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://www.mainhausen.de/municipal/subscribe/trash/44
```

View File

@@ -0,0 +1,13 @@
title: Stadt Mainhausen
url: https://www.mainhausen.de/
howto: |
- Goto <https://www.mainhausen.de/download-muellkalender> and select your street name.
- Right-click on `Download Kalenderdatei nur Bezirke mit *selected street name*` and copy link address.
- Replace the `url` in the example configuration with this link.
test_cases:
Breslauer Straße:
url: "https://www.mainhausen.de/municipal/subscribe/trash/15"
Aussiger Straße:
url: "https://www.mainhausen.de/municipal/subscribe/trash/9"
Mainflinger Straße:
url: "https://www.mainhausen.de/municipal/subscribe/trash/44"

View File

@@ -208,6 +208,7 @@ This source has been successfully tested with the following service providers:
- [Rhein-Pfalz-Kreis](/doc/ics/abfall_app_net.md) / rhein-pfalz-kreis.de
- [Stadt Detmold](/doc/ics/detmold_de.md) / detmold.de
- [Stadt Koblenz](/doc/ics/koblenz_de.md) / koblenz.de
- [Stadt Mainhausen](/doc/ics/stadt_mainhausen_de.md) / mainhausen.de
- [Stadt Osnabrück](/doc/ics/osnabrueck_de.md) / osnabrueck.de
- [Stadtbetrieb Frechen](/doc/ics/stadtbetrieb_frechen_de.md) / stadtbetrieb-frechen.de
- [Stadtentsorgung Rostock](/doc/ics/stadtentsorgung_rostock_de.md) / stadtentsorgung-rostock.de

File diff suppressed because one or more lines are too long