API wrapper for ROVA calendar
Project description
ROVA
Wrapper to get ROVA calendar from Rova's API Acces to ROVA API has been simplified since version 0.2.1 of this wrapper Just use https://www.rova.nl/api/waste-calendar/upcoming?postalcode=1000AA&houseNumber=1&addition=&take=5 with a existing combination of postalcode, housenumber, [housenumber addition]
take=5 means that five upcoming dates are returned, min is 1 max unknown
Be aware that ROVA API has not been officially published by ROVA.
Create a new connection by supplying your zip code and house number
r = rova.Rova(YOUR_ZIP_CODE, YOUR_HOUSE_NUMBER, [YOUR_HOUSE_NUMBER_ADDITION])
API Request
Check wether ROVA collects garbage at the given zip code and house number and addition
def is_rova_area():
This method return the parsed JSON response as a list.
def get_calendar_items([TAKE]):
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
File details
Details for the file rova-0.4.1.tar.gz
.
File metadata
- Download URL: rova-0.4.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b2183b0493b6903e2b6799d61402b6126d3043d3ff3a4c7ce21a163e33d90e |
|
MD5 | 51bc6a0a445e95668b74097fbfe2475a |
|
BLAKE2b-256 | f8f5da4474c914bdf5a4079e04eefd3169276e9f97c910992c97cb3041a160d3 |