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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcbinspy-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 322ee7fc74fa955685eea727df98f42ddaaa3e245aa8b49ef666fb15c8a5daa3
MD5 965f64db73c4ccf4b4c3bf60d147a8c3
BLAKE2b-256 a93ef80b981f51cee59f2e98659aa55fa0438f9f4851303a21e89e72f82d26c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcbinspy-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 171c1e0ca02fb1373fc1595de4da44f12dafcc1a3090c3218b7fefe3e9a9cba1
MD5 43256e3cca84459011b9a36d75abd079
BLAKE2b-256 3c2e46c825f18b6370a665ddf97bedd7be56c45b703ee78beb93b81d4ae8905d

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