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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for openerz-api-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f96495ca4809fec73bb8698726275805d1c31c8357d06ebc42f5809e091da24c
MD5 62e9ce42ebb9b971ef2b23d8ef5c25b2
BLAKE2b-256 6893b6cc24fdc2a7b36c814e31ddcf647d8bf32b923e171ac49156c12427a624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openerz_api-0.3.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.18

File hashes

Hashes for openerz_api-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a64d0d5e282aa3bc5f67804b770ff869e58bb3fddc545ceb7657fbb9fd0c514e
MD5 d8abc328ebc37e6973b82a304a7ecba7
BLAKE2b-256 b63be4ab30f652a3939733f407b95445f03a796c64987b7c2bb529b9f96c6ef9

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