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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcbinspy-0.0.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for gcbinspy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 eb6f9ba53c7f1407aa65049d00b0b156b21b90bd4bc11c5181dc8c6503fa1876
MD5 ec2e54a7f6dbdc388da3bad9e7dfb266
BLAKE2b-256 8ea73131c4b97aa2f597c7f24b5244e20172a359e01c3abc95a540c55cb17ae9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gcbinspy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2038d544bc9ea3621cb73820c7c2395c43301795a7e5f44f7c462660bafe4d53
MD5 dc00fcbeb1a2ffef277853d8f55ca1e9
BLAKE2b-256 0e281df00c246e766f801a059255a7adf036930e3396a13391263462d9dc4e64

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