Add Brent Council ICS source

This commit is contained in:
Johnnie Blows
2024-07-18 19:10:55 +01:00
committed by 5ila5
parent 15f61e143d
commit a130780667
6 changed files with 40 additions and 1 deletions

View File

@@ -1304,6 +1304,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Bradford Metropolitan District Council](/doc/source/bradford_gov_uk.md) / bradford.gov.uk
- [Braintree District Council](/doc/source/braintree_gov_uk.md) / braintree.gov.uk
- [Breckland Council](/doc/source/breckland_gov_uk.md) / breckland.gov.uk/mybreckland
- [Brent Council](/doc/ics/brent_gov_uk.md) / brent.gov.uk
- [Bristol City Council](/doc/source/bristol_gov_uk.md) / bristol.gov.uk
- [Broadland District Council](/doc/source/south_norfolk_and_broadland_gov_uk.md) / area.southnorfolkandbroadland.gov.uk
- [Bromsgrove City Council](/doc/source/bromsgrove_gov_uk.md) / bromsgrove.gov.uk

View File

@@ -6926,6 +6926,11 @@
"module": "breckland_gov_uk",
"default_params": {}
},
{
"title": "Brent Council",
"module": "ics",
"default_params": {}
},
{
"title": "Bristol City Council",
"module": "bristol_gov_uk",

22
doc/ics/brent_gov_uk.md Normal file
View File

@@ -0,0 +1,22 @@
# Brent Council
Brent Council 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://recyclingservices.brent.gov.uk/waste> and enter your post code, and on the following page select your address.
- Right click -> copy the url of the `Add to your calendar (.ics file)` link.
- Replace the `url` in the example configuration with this link. (If you know your address reference, you can just replace the last part of the url with it.)
## Examples
### 25 Shaftesbury Avenue, Harrow, HA3 0QU
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://recyclingservices.brent.gov.uk/waste/2038877/calendar.ics
```

View File

@@ -0,0 +1,10 @@
title: Brent Council
url: https://www.brent.gov.uk
howto: |
- Goto <https://recyclingservices.brent.gov.uk/waste> and enter your post code, and on the following page select your address.
- Right click -> copy the url of the `Add to your calendar (.ics file)` link.
- Replace the `url` in the example configuration with this link. (If you know your address reference, you can just replace the last part of the url with it.)
test_cases:
25 Shaftesbury Avenue, Harrow, HA3 0QU:
url: "https://recyclingservices.brent.gov.uk/waste/2038877/calendar.ics"

View File

@@ -260,6 +260,7 @@ This source has been successfully tested with the following service providers:
### United Kingdom
- [Anglesey](/doc/ics/anglesey_gov_wales.md) / anglesey.gov.wales
- [Brent Council](/doc/ics/brent_gov_uk.md) / brent.gov.uk
- [Falkirk](/doc/ics/falkirk_gov_uk.md) / falkirk.gov.uk
- [Gedling Borough Council (unofficial)](/doc/ics/gedling_gov_uk.md) / gbcbincalendars.co.uk
- [Middlesbrough Council](/doc/ics/recollect.md) / middlesbrough.gov.uk

File diff suppressed because one or more lines are too long