New project: https://github.com/gquittet/recycle-cli
The old Hygea API has been migrated to the Recycle one since 2022.
So this application will not work after the 31st December 2021.
Hygea provides a calendar via PDF and an application called Recycle.
I just wanted to use an iCal file to import it in my calendar. So I made this
little executable that call their API and generate an hygea.ics
that you can
import to your GMail, NextCloud or Apple calendar.
Hygea is an intermunicipal company born from the merger of the Public Waste Management Sector of IDEA, in charge of waste collection, and the intermunicipal company ITRADEC, in charge of waste treatment for 24 municipalities spread over the Mons-Borinage-Centre region.
./hygea_to_ical POSTAL_CODE <STREET_NAME (optional)>
where POSTAL_CODE
is a postal code managed by Hygea in Belgium.
./hygea_to_ical --help
./hygea_to_ical 7340
./hygea_to_ical 7000 "rue de nimy"