implemented tmbc_gov_uk

This commit is contained in:
5ila5
2023-03-27 18:46:49 +02:00
parent 2b6013e551
commit 3bac2c2334
4 changed files with 121 additions and 2 deletions

37
doc/source/tmbc_gov_uk.md Normal file
View File

@@ -0,0 +1,37 @@
# Braintree District Council
Support for schedules provided by [Tonbridge and Malling Borough Council](https://www.tmbc.gov.uk/xfp/form/167), serving Tonbridge and Malling, UK.
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: tmbc_gov_uk
args:
post_code: Post Code
address: Address
```
### Configuration Variables
**post_code**
*(string) (required)*
**address**
*(string) (required)*
## Example
```yaml
waste_collection_schedule:
sources:
- name: tmbc_gov_uk
args:
post_code: "ME19 6NE"
address: "138 High Street"
```
## How to verify that your address works
Visit [tmbc.gov.uk](https://www.tmbc.gov.uk/xfp/form/167) page and search for your address. The string you select as Address (only starts with is checked, so you can stop after the street) should match exactly your address parameter.