mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
Merge pull request #1018 from 5ila5/recollect_ics_source
add ics source documentation for recollect
This commit is contained in:
@@ -807,6 +807,7 @@ Waste collection schedules in the following formats and countries are supported.
|
||||
|
||||
- [City of Oklahoma City](/doc/source/okc_gov.md) / okc.gov
|
||||
- [City of Pittsburgh](/doc/source/pgh_st.md) / pgh.st
|
||||
- [ReCollect](/doc/ics/recollect.md) / recollect.net
|
||||
- [Republic Services](/doc/source/republicservices_com.md) / republicservices.com
|
||||
- [Seattle Public Utilities](/doc/source/seattle_gov.md) / myutilities.seattle.gov
|
||||
</details>
|
||||
|
||||
45
doc/ics/recollect.md
Normal file
45
doc/ics/recollect.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# ReCollect
|
||||
|
||||
ReCollect 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
|
||||
|
||||
- To get the URL, search your address in the recollect form of your home town.
|
||||
- Click "Get a calendar", then "Add to Google Calendar".
|
||||
- The URL shown is your ICS calendar link, for example.
|
||||
```
|
||||
https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606
|
||||
```
|
||||
- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`
|
||||
|
||||
known to work with:
|
||||
|region|url|
|
||||
|-|-|
|
||||
|Ottawa, Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|
|
||||
|City of Cambridge|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|
|
||||
|City of Bloomington|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|
|
||||
and probably a lot more.
|
||||
|
||||
## Examples
|
||||
|
||||
### Cambridge, MA
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: ics
|
||||
args:
|
||||
split_at: '\, (?:and )?|(?: and )'
|
||||
url: https://recollect.a.ssl.fastly.net/api/places/F2BCBBF2-ACC9-11E8-B4BD-CFDD30C1D4D8/services/761/events.en-US.ics
|
||||
```
|
||||
### Ottawa, Ontario, Canada
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: ics
|
||||
args:
|
||||
split_at: '\, (?:and )?|(?: and )'
|
||||
url: https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics
|
||||
```
|
||||
38
doc/ics/yaml/recollect.yaml
Normal file
38
doc/ics/yaml/recollect.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
title: ReCollect
|
||||
url: https://recollect.net/
|
||||
country: us
|
||||
extra_info:
|
||||
- title: Ottawa, Canada
|
||||
url: https://ottawa.ca
|
||||
- title: City of Cambridge
|
||||
url: www.cambridgema.gov
|
||||
country: us
|
||||
- title: City of Bloomington
|
||||
url: https://bloomington.in.gov
|
||||
country: us
|
||||
|
||||
howto: |
|
||||
- To get the URL, search your address in the recollect form of your home town.
|
||||
- Click "Get a calendar", then "Add to Google Calendar".
|
||||
- The URL shown is your ICS calendar link, for example.
|
||||
```
|
||||
https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606
|
||||
```
|
||||
- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`
|
||||
|
||||
known to work with:
|
||||
|region|url|
|
||||
|-|-|
|
||||
|Ottawa, Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|
|
||||
|City of Cambridge|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|
|
||||
|City of Bloomington|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|
|
||||
and probably a lot more.
|
||||
test_cases:
|
||||
Cambridge, MA:
|
||||
url: "https://recollect.a.ssl.fastly.net/api/places/F2BCBBF2-ACC9-11E8-B4BD-CFDD30C1D4D8/services/761/events.en-US.ics"
|
||||
split_at: "\\, (?:and )?|(?: and )"
|
||||
Ottawa, Ontario, Canada:
|
||||
url: https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics
|
||||
split_at: "\\, (?:and )?|(?: and )"
|
||||
|
||||
|
||||
@@ -45,6 +45,10 @@ This source has been successfully tested with the following service providers:
|
||||
- [Zweckverband Abfallwirtschaft Region Trier (A.R.T.)](/doc/ics/art_trier_de.md) / art-trier.de
|
||||
- [Zweckverband Abfallwirtschaft Südwestsachsen (ZAS)](/doc/ics/za_sws_de.md) / za-sws.de
|
||||
|
||||
### United States of America
|
||||
|
||||
- [ReCollect](/doc/ics/recollect.md) / recollect.net
|
||||
|
||||
<!--End of service section-->
|
||||
|
||||
In addition, users reported that the following service providers are working:
|
||||
|
||||
2
info.md
2
info.md
@@ -31,7 +31,7 @@ Waste collection schedules from service provider web sites are updated daily, de
|
||||
| Sweden | Affärsverken, Jönköping - June Avfall & Miljö, Landskrona - Svalövs Renhållning, Lerum Vatten och Avlopp, Linköping - Tekniska Verken, Region Gotland, Ronneby Miljöteknik, Samverkan Återvinning Miljö (SÅM), SRV Återvinning, SSAM, Sysav Sophämntning, Uppsala Vatten och Avfall AB, VA Syd Sophämntning |
|
||||
| Switzerland | A-Region, Andwil, Appenzell, Berg, Bühler, Eggersriet, Gais, Gaiserwald, Goldach, Grosswangen, Grub, Heiden, Herisau, Horn, Hundwil, Häggenschwil, Lindau, Lutzenberg, Muolen, Mörschwil, Münchenstein, Real Luzern, Rehetobel, Rorschach, Rorschacherberg, Schwellbrunn, Schönengrund, Speicher, Stein, Steinach, Teufen, Thal, Trogen, Tübach, Untereggen, Urnäsch, Wald, Waldkirch, Waldstatt, Wittenbach, Wolfhalden |
|
||||
| United Kingdom | Aberdeenshire Council, Amber Valley Borough Council, Ashfield District Council, Basildon Council, Basingstoke and Deane Borough Council, Bedford Borough Council, Binzone, Blackburn with Darwen Borough Council, Bracknell Forest Council, Bradford Metropolitan District Council, Braintree District Council, Breckland Council, Bristol City Council, Buckinghamshire Waste Collection - Former Chiltern, South Bucks or Wycombe areas, Cambridge City Council, Canterbury City Council, Central Bedfordshire Council, Cherwell District Council, Cheshire East Council, Chesterfield Borough Council, Chichester District Council, City of Doncaster Council, City of York Council, Colchester City Council, Cornwall Council, Croydon Council, Derby City Council, East Cambridgeshire District Council, East Herts Council, East Northamptonshire and Wellingborough, East Riding of Yorkshire Council, Eastbourne Borough Council, Elmbridge Borough Council, Environment First, Exeter City Council, Fareham Council, FCC Environment, Fenland District Council, Fife Council, Gateshead Council, Glasgow City Council, Guildford Borough Council, Harborough District Council, Harlow Council, Herefordshire City Council, Horsham District Council, Huntingdonshire District Council, Kirklees Council, Leicester City Council, Lewes District Council, Lisburn and Castlereagh City Council, Liverpool City Council, London Borough of Bexley, London Borough of Bromley, London Borough of Lewisham, London Borough of Merton, Maldon District Council, Manchester City Council, Mid-Sussex District Council, Middlesbrough Council, Newcastle City Council, Newcastle Under Lyme Borough Council, Newport City Council, North Herts Council, North Kesteven District Council, North Lincolnshire Council, North Somerset Council, Nottingham City Council, Oxford City Council, Peterborough City Council, Portsmouth City Council, Reading Council, Reigate & Banstead Borough Council, Richmondshire District Council, Rotherham Metropolitan Borough Council, Runnymede Borough Council, Rushmoor Borough Council, Salford City Council, Sheffield City Council, South Cambridgeshire District Council, South Derbyshire District Council, South Gloucestershire Council, South Hams District Council, South Norfolk and Broadland Council, South Oxfordshire District Council, South Tyneside Council, Southampton City Council, Stevenage Borough Council, Stockport Council, Stockton-on-Tees Borough Council, Swindon Borough Council, Telford and Wrekin Council, Tewkesbury Borough Council, The Royal Borough of Kingston Council, Tonbridge and Malling Borough Council, Uttlesford District Council, Vale of White Horse District Council, Walsall Council, Waverley Borough Council, Welwyn Hatfield Borough Council, West Berkshire Council, West Devon Borough Council, West Dunbartonshire Council, Wigan Council, Wiltshire Council, Wirral Council, Wyre Forest District Council |
|
||||
| United States of America | City of Oklahoma City, City of Pittsburgh, Republic Services, Seattle Public Utilities |
|
||||
| United States of America | City of Oklahoma City, City of Pittsburgh, ReCollect, Republic Services, Seattle Public Utilities |
|
||||
<!--End of country section-->
|
||||
|
||||
For full details on supported service providers, and more project details, visit us on [GitHub](https://github.com/mampfes/hacs_waste_collection_schedule).
|
||||
|
||||
Reference in New Issue
Block a user