Skip to main content

A Python wrapper around the OpenERZ API.

Project description

OpenERZ Python API

This wrapper allows you to interact with the OpenERZ API using Python code.

For more information about the API itself see: http://openerz.metaodi.ch/documentation and https://github.com/metaodi/openerz

Usage example

A ready-to-run example can also be found in the examples directory.

from openerz_api.main import OpenERZConnector

ZIP = 8001
WASTE = "paper"

# initialize the connector given zip code and waste type
connector = OpenERZConnector(zip_code=ZIP, waste_type=WASTE)

# retrieve the next pick-up date within a period of choice
next_pickup = connector.find_next_pickup(day_offset=15)

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

openerz-api-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

openerz_api-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file openerz-api-0.2.0.tar.gz.

File metadata

  • Download URL: openerz-api-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for openerz-api-0.2.0.tar.gz
Algorithm Hash digest
SHA256 af3ac846e497e13cabf33633019b00f02752df81d167caa40bc40016a26821a5
MD5 8d981637f4a19a24853fdd30c8bf1df8
BLAKE2b-256 8f057ef84d00be5e8c950eed8fa9d9a5338c38c9afd14feded5ddf459640d8a6

See more details on using hashes here.

File details

Details for the file openerz_api-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: openerz_api-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for openerz_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d76d1c085a50cd3c2e0262de1e6dfcb94a1aca3cfd1a13436ccfa27a8ddd5be9
MD5 0b0edfe84b6d6e3aece64ef4db72b8aa
BLAKE2b-256 d696d0bfc4831ebb7a66de4e1347ba37d5a44f3ac7ecbfe7dfa4af38144cbbd4

See more details on using hashes here.

Supported by

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