Adding tauranga_govt_nz (#1757)

* Add Tauranga City Council source

* Update tcc reademe name

* dynanmically fetch asp.net form data, tidy up code for PR

* minor reformatting

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
Kronoc123
2024-02-03 23:32:06 +13:00
committed by GitHub
parent 9ccb0f78ad
commit 79bf869aa1
4 changed files with 163 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
# Tauranga City Council
Support for schedules provided by [Tauranga City Council](https://www.tauranga.govt.nz/).
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: tauranga_govt_nz
args:
address: ADDRESS # see 'How to get the source argument below'
```
### Configuration Variables
**address**
*(string) (required)*
## Example
```yaml
waste_collection_schedule:
sources:
- name: tauranga_govt_nz
args:
address: "1 Santa Monica Drive"
```
## How to get the source argument
Simply enter your street number and name as if you're searching on the online tool. Note that the first result will be selected if there are multiple search results.