File: README.md

package info (click to toggle)
python-rova 0.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 76 kB
  • sloc: python: 70; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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]):
```