Add Pronatura Bydgoszcz (#2138)

* Add Pronatura Bydgoszcz

* follow contribution guide, clean code, address PR comments

* rename + minor changes

pronatura_bydgoszcz rename to match URL (add _pl)
removed unnecessary method get_data
NAME_MAP[waste_type] and ICON_MAP[waste_type] with get equivalents to prevent failour on name change
modified md file to be more in line with other sources

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
Pawel Forynski
2024-06-19 19:00:16 +02:00
committed by GitHub
parent 0354b9cfb0
commit 2f04ba6519
4 changed files with 149 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
# Pronatura Bydgoszcz
Support for schedules provided by [Pronatura Bydgoszcz](http://www.pronatura.bydgoszcz.pl/), serving Bydgoszcz, Poland.
There are other companies providing garbage collection services in Bydgoszcz (Remondis and Corimp) but this source does not support them.
To check which provider you have, visit this page at [Czysta Bydgoszcz](https://www.czystabydgoszcz.pl/odpady-komunalne/podzial-na-sektory/).
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: pronatura_bydgoszcz_pl
args:
street_name: STREET_NAME
street_number: STREET_NUMBER
```
**street_name**
*(string) (required)*
**street_number**
*(string|integer) (required)*
## Example
```yaml
waste_collection_schedule:
sources:
- name: pronatura_bydgoszcz_pl
args:
street_name: JÓZEFA SOWIŃSKIEGO
street_number: 22A
```