adding St. Pölten (#2027)

* adding St. Pölten

* fix country + ./update_docu_links.py

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
AleXXw1
2024-04-28 14:38:54 +02:00
committed by GitHub
parent 8867fcc8cc
commit 21c6ef168d
5 changed files with 45 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Abfallverband Hollabrunn](/doc/source/umweltverbaende_at.md) / hollabrunn.umweltverbaende.at
- [Abfallverband Korneuburg](/doc/source/umweltverbaende_at.md) / korneuburg.umweltverbaende.at
- [Abfallverband Schwechat](/doc/source/umweltverbaende_at.md) / schwechat.umweltverbaende.at
- [Abfallwirtschaft der Stadt St. Pölten](/doc/ics/st-poelten_at.md) / st-poelten.at/sonstiges/17653-abfallkalender
- [Abfallwirtschaft Stadt Krems](/doc/source/umweltverbaende_at.md) / kremsstadt.umweltverbaende.at
- [Abfallwirtschaft Stadt St Pölten](/doc/source/umweltverbaende_at.md) / stpoelten.umweltverbaende.at
- [Afritz am See](/doc/ics/muellapp_com.md) / muellapp.com

27
doc/ics/st-poelten_at.md Normal file
View File

@@ -0,0 +1,27 @@
# Abfallwirtschaft der Stadt St. Pölten
Abfallwirtschaft der Stadt St. Pölten 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.st-poelten.at/sonstiges/17653-abfallkalender> and click "Inhalte von services.st-poelten.at laden"
- fill out your address
- klick F12 or start the dev-mode on your browser another way
- klick on "Download Kalenderexport" and discard or save the file (you'll not need it for that)
- find the link for the ics-file in the "Network"-section of your browsers Dev-tools
- copy the link - for the Landhaus it's https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical
- (the only values changing here shall be "streetId" and "housenumber")
## Examples
### Oppach
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
split_at: ' & '
url: https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical
```

View File

@@ -0,0 +1,15 @@
title: Abfallwirtschaft der Stadt St. Pölten
url: https://www.st-poelten.at/sonstiges/17653-abfallkalender
country: at
howto: |
- Goto <https://www.st-poelten.at/sonstiges/17653-abfallkalender> and click "Inhalte von services.st-poelten.at laden"
- fill out your address
- click F12 or start the dev-mode on your browser another way
- click on "Download Kalenderexport" and discard or save the file (you'll not need it for that)
- find the link for the ics-file in the "Network"-section of your browsers Dev-tools
- copy the link - for the Landhaus it's https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical
- (the only values changing here shall be "streetId" and "housenumber")
test_cases:
Oppach:
url: "https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical"
split_at: " & "

View File

@@ -11,6 +11,7 @@ This source has been successfully tested with the following service providers:
### Austria
- [Abfallwirtschaft der Stadt St. Pölten](/doc/ics/st-poelten_at.md) / st-poelten.at/sonstiges/17653-abfallkalender
- [Afritz am See](/doc/ics/muellapp_com.md) / muellapp.com
- [Alpbach](/doc/ics/muellapp_com.md) / muellapp.com
- [Althofen](/doc/ics/muellapp_com.md) / muellapp.com

File diff suppressed because one or more lines are too long