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())
Metadata
Release files for gcbinspy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcbinspy-0.0.1.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcbinspy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / gcbinspy-0.0.1.tar.gz
| Download URL | gcbinspy-0.0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
322ee7fc74fa955685eea727df98f42ddaaa3e245aa8b49ef666fb15c8a5daa3
|
|
BLAKE2b-256 checksum How to use checksums |
a93ef80b981f51cee59f2e98659aa55fa0438f9f4851303a21e89e72f82d26c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / gcbinspy-0.0.1-py3-none-any.whl
| Download URL | gcbinspy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
171c1e0ca02fb1373fc1595de4da44f12dafcc1a3090c3218b7fefe3e9a9cba1
|
|
BLAKE2b-256 checksum How to use checksums |
3c2e46c825f18b6370a665ddf97bedd7be56c45b703ee78beb93b81d4ae8905d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|