Additional ReCollect examples (#2720)

* Additional ReCollect examples

* url updates following PR errors

* recollect.yaml updated

* docu links

* re-run update docu links

* recollect.md samples added back in

* recollect.yaml uodated

* .md updated

* update docu links after rebase
This commit is contained in:
dt215git
2024-09-21 15:29:13 +01:00
committed by GitHub
parent c5346c201c
commit aaea1c3338
9 changed files with 64 additions and 8 deletions

View File

@@ -27,6 +27,8 @@ known to work with:
|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|
|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|
|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|
|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|
|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|
and probably a lot more.
@@ -120,3 +122,23 @@ waste_collection_schedule:
split_at: '\, (?:and )?|(?: and )'
url: https://api.recollect.net/w/areas/WC-5183/services/995/pages/widget_subscribe_calendar?back_stack=%5B%5B%22place_calendar%22%2C%7B%22for%22%3A%22WC-5183%22%2C%22tabbed%22%3Atrue%7D%5D%5D#
```
### Halton Region, ON, Canada
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: https://recollect.a.ssl.fastly.net/api/places/97323326-A43B-11E2-A636-ABBA3CA4474E/services/224/events.en.ics?client_id=61BBBF46-7800-11EF-8692-290A842A7710
```
### District of Saanich, BC, Canada
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: https://recollect.a.ssl.fastly.net/api/places/46BC2620-B477-11E3-B3D4-47898BE95184/services/214/events.en.ics?client_id=BD5E38F8-741B-11EF-B562-C1575C8ED1CF
```

View File

@@ -78,6 +78,12 @@ extra_info:
- title: Peel Region, ON
url: https://www.peelregion.ca
country: ca
- title: District of Saanich, BC
url: https://www.saanich.ca
country: ca
- title: Halton Region, ON
url: https://www.halton.ca
country: ca
howto:
en: |
- To get the URL, search your address in the recollect form of your home town.
@@ -102,7 +108,9 @@ howto:
|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|
|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|
|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|
|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|
|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|
and probably a lot more.
default_params:
split_at: '\, (?:and )?|(?: and )'
@@ -136,3 +144,9 @@ test_cases:
url:
https://api.recollect.net/w/areas/WC-5183/services/995/pages/widget_subscribe_calendar?back_stack=%5B%5B%22place_calendar%22%2C%7B%22for%22%3A%22WC-5183%22%2C%22tabbed%22%3Atrue%7D%5D%5D#
split_at: '\, (?:and )?|(?: and )'
Halton Region, ON, Canada:
url: https://recollect.a.ssl.fastly.net/api/places/97323326-A43B-11E2-A636-ABBA3CA4474E/services/224/events.en.ics?client_id=61BBBF46-7800-11EF-8692-290A842A7710
split_at: '\, (?:and )?|(?: and )'
District of Saanich, BC, Canada:
url: https://recollect.a.ssl.fastly.net/api/places/46BC2620-B477-11E3-B3D4-47898BE95184/services/214/events.en.ics?client_id=BD5E38F8-741B-11EF-B562-C1575C8ED1CF
split_at: '\, (?:and )?|(?: and )'

View File

@@ -148,7 +148,9 @@ This source has been successfully tested with the following service providers:
- [City of Vancouver](/doc/ics/recollect.md) / vancouver.ca
- [County of Simcoe, ON](/doc/ics/recollect.md) / simcoe.ca
- [CURBit St. John's](/doc/ics/recollect.md) / curbitstjohns.ca
- [District of Saanich, BC](/doc/ics/recollect.md) / saanich.ca
- [Halifax, NS](/doc/ics/recollect.md) / halifax.ca
- [Halton Region, ON](/doc/ics/recollect.md) / halton.ca
- [Niagara Region](/doc/ics/recollect.md) / niagararegion.ca
- [Ottawa, Canada](/doc/ics/recollect.md) / ottawa.ca
- [Peel Region, ON](/doc/ics/recollect.md) / peelregion.ca