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)
Metadata
Release files for openerz-api 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openerz-api-0.3.0.tar.gz | 4.8 kB | Without provenance | Details for openerz-api-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openerz_api-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for openerz_api-0.3.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / openerz-api-0.3.0.tar.gz
| Download URL | openerz-api-0.3.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f96495ca4809fec73bb8698726275805d1c31c8357d06ebc42f5809e091da24c
|
|
BLAKE2b-256 checksum How to use checksums |
6893b6cc24fdc2a7b36c814e31ddcf647d8bf32b923e171ac49156c12427a624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / openerz_api-0.3.0-py3-none-any.whl
| Download URL | openerz_api-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a64d0d5e282aa3bc5f67804b770ff869e58bb3fddc545ceb7657fbb9fd0c514e
|
|
BLAKE2b-256 checksum How to use checksums |
b63be4ab30f652a3939733f407b95445f03a796c64987b7c2bb529b9f96c6ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for openerz-api 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.