The file integration_API.py contains all API requests to combine data between the Seenons API and Huisvuilkalendar API data, as well as the integration between these 2 APIs to combine their data. The user_interface.py file makes use of the objects defined in integration_API.py and takes a postal code, house number and optionally weekdays as inputs and returns the available waste streams and on which dates they are available. If weekdays are passed as arguments, the output dates will be limited to only the weekdays provided by the user. The user is prompted to select a house letter if there are multiple options for the given address.
python3 user_interface.py -p <POSTCODE> -n <HOUSENUMBER> [-wd <WEEKDAY> [<WEEKDAY> ...]]
POSTCODE: Must contain 2 letters at the end without space (e.g. 2512HE)
HOUSENUMBER: Must be an integer (e.g. 68)
If POSTCODE and HOUSENUMBER do not form a valid address, the program will exit.
WEEKDAY must be one of the following: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
If a weekday is misspelled, it will just be ignored.
Available waste streams for given address (Type and ID).
Available dates for each waste stream.