Gold Coast bin days
Project description
gcbinspy
Wrote this to use as a sensor in home assistant so I stop forgetting to take the bins out the night before and inevitably running out in my underwear when the truck wakes me up.
Uses same API https://www.goldcoast.qld.gov.au/Services/Waste-recycling/Find-my-bin-day uses to find your property ID from your address. Alternatively you can manually set your property ID.
Example:
import gcbinspy
address = "26 Eleventh Ave, Palm Beach QLD 4221"
client = bins.GoldCoastBins(address)
client.property_id()
client.update_next_bin_days()
print(client.next_landfill().isoformat())
print(client.is_recycling_day())
print(client.is_organics_day_tomorrow())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gcbinspy-0.0.2.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file gcbinspy-0.0.2.tar.gz
.
File metadata
- Download URL: gcbinspy-0.0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae2b6e94151dfcf1a31a7ca667329f9cc8a0a85d38b6fb5a37deeadf1251e7b5 |
|
MD5 | 7df453ce94b6964adc67f3ad1d5ebc61 |
|
BLAKE2b-256 | 1b6eb3e50fc35f606b3bc8f6b8ee52a0316f519ae26f218162057776836bb250 |
File details
Details for the file gcbinspy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: gcbinspy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbf6912525f4f2a5c3be040a8ac6f3d541ac3dc2c757d886eef65533e483d32 |
|
MD5 | fa9e95587702ea37f162c4df3ffe5af6 |
|
BLAKE2b-256 | 45eaf55cfe0bb6999647b74d51cfaa56943fdd322ced28e9b5b67ca13d3ce5ae |