Tewkesbury Borough Council API URL change + remove postcode option (#1613)

* Update Tewkesbury API URL and remove postcode option

The API URL for Tewkesbury Borough council has changed, and the postcode option no longer works, so this has been removed.

* Remove postcode option from Tewksbury Borough Council

Reflect changes in docs to remove postcode option from Tewksbury borough council

* allow postcode as depricated method

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
Rob Tribe
2024-01-05 13:55:20 +00:00
committed by GitHub
parent f1b355993e
commit 9f10a415a7
2 changed files with 32 additions and 39 deletions

View File

@@ -1,17 +1,9 @@
# Tewkesbury City Council
Support for upcoming schedules provided by [Tewkesbury City Council](https://www.tewkesbury.gov.uk/waste-and-recycling), serving Tewkesbury (UK) and areas of Gloucestershire.
Support for upcoming schedules provided by [Tewkesbury City Council](https://tewkesbury.gov.uk/services/waste-and-recycling/), serving Tewkesbury (UK) and areas of Gloucestershire.
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: tewkesbury_gov_uk
args:
postcode: POSTCODE
```
```yaml
waste_collection_schedule:
sources:
@@ -22,25 +14,11 @@ waste_collection_schedule:
### Configuration Variables
**POSTCODE**
*(string) (optional)*
Not all addresses are supported by postcode. Then you have to provide a UPRN.
**UPRN**
*(string) (optional)*
Either `postcode` or `uprn` must be provided.
*(string) (required)*
## Example
```yaml
waste_collection_schedule:
sources:
- name: tewkesbury_gov_uk
args:
postcode: "GL20 5TT"
```
```yaml
waste_collection_schedule:
sources: