Skip to content

Commit

Permalink
added ics documentation for ab_peine_de
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Leist authored and 5ila5 committed Dec 20, 2023
1 parent b527069 commit a79b0ae
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Landkreis Northeim (unofficial)](/doc/ics/nerdbridge_de.md) / abfall.nerdbridge.de
- [Landkreis Ostallgäu](/doc/source/abfall_io.md) / buerger-ostallgaeu.de
- [Landkreis Paderborn (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
- [Landkreis Peine](/doc/ics/ab_peine_de.md) / ab-peine.de
- [Landkreis Ravensburg](/doc/source/rv_de.md) / rv.de
- [Landkreis Rhön Grabfeld](/doc/source/landkreis_rhoen_grabfeld.md) / abfallinfo-rhoen-grabfeld.de
- [Landkreis Rosenheim](/doc/source/awido_de.md) / abfall.landkreis-rosenheim.de
Expand Down
32 changes: 32 additions & 0 deletions doc/ics/ab_peine_de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Landkreis Peine

Landkreis Peine 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.ab-peine.de/Abfuhrtermine/> and select your address. You can leave `Ab Monat` and `Darstellung` as is.
- For all bin types leave all bin types **unselected**
- Copy the link of the `Kalender abonnieren` button
- Replace the `url` in the example configuration with this link.

## Examples

### Barbecke

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.301
```
### Peine Gerhart-Hauptmann-Straße
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.166
```
12 changes: 12 additions & 0 deletions doc/ics/yaml/ab_peine_de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
title: Landkreis Peine
url: https://ab-peine.de/
howto: |
- Goto <https://www.ab-peine.de/Abfuhrtermine/> and select your address. You can leave `Ab Monat` and `Darstellung` as is.
- For all bin types do not select any bin type checkbox
- Copy the link of the `Kalender abonnieren` button
- Replace the `url` in the example configuration with this link.
test_cases:
Barbecke:
url: "webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.301"
Peine Gerhart-Hauptmann-Straße:
url: "webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.166"
1 change: 1 addition & 0 deletions doc/source/ics.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ This source has been successfully tested with the following service providers:
- [Landkreis Hameln-Pyrmont](/doc/ics/hameln_pyrmont_de.md) / hameln-pyrmont.de
- [Landkreis Lüchow-Dannenberg](/doc/ics/abfall_app_net.md) / luechow-dannenberg.de
- [Landkreis Northeim (unofficial)](/doc/ics/nerdbridge_de.md) / abfall.nerdbridge.de
- [Landkreis Peine](/doc/ics/ab_peine_de.md) / ab-peine.de
- [Landkreis soest](/doc/ics/abfall_app_net.md) / kreis-soest.de
- [Landkreis Stade](/doc/ics/landkreis_stade_de.md) / landkreis-stade.de
- [Landkreis Stendal](/doc/ics/abfall_app_net.md) / landkreis-stendal.de
Expand Down
2 changes: 1 addition & 1 deletion info.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ recurring-ical-events>=2.0.2
requests>=2.31.0
urllib3>=2.0.7
jinja2>=3.1.2
lxml>=4.9.4

0 comments on commit a79b0ae

Please sign in to comment.