Skip to main content

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.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

gcbinspy-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file gcbinspy-0.0.3.tar.gz.

File metadata

  • Download URL: gcbinspy-0.0.3.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

Hashes for gcbinspy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b4b3540c49589dbedf66812b2ee7655463d3976e95484433155892f743c015ab
MD5 85bfdc4a18877bed690b431da23a2f00
BLAKE2b-256 d7a23259e3525a32274ca8cc57cf586544ea27c74079d3420ff2c0d6facd8784

See more details on using hashes here.

File details

Details for the file gcbinspy-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gcbinspy-0.0.3-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

Hashes for gcbinspy-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 41ac1d4a131ea5923cf90f6aead139844ebf4b72f3808f8a4a1dfb98315f6f20
MD5 7122d971d0734ef0aef5bd05b3f6715c
BLAKE2b-256 7da5d92d6a408a8bdf5e5054ace27de96f2ee7c5c0ed5c4f655f7b9f0d925e6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page