gquittet / hygea_to_ical

Convert Hygea calendar to an iCal file to easily import it to Google Calendar (Rust version)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hygea to iCal

CI

Discontinued ⚠️

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.

Goal

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.

How to use

./hygea_to_ical POSTAL_CODE <STREET_NAME (optional)>

where POSTAL_CODE is a postal code managed by Hygea in Belgium.

Help

./hygea_to_ical --help

Example

./hygea_to_ical 7340
./hygea_to_ical 7000 "rue de nimy"

About

Convert Hygea calendar to an iCal file to easily import it to Google Calendar (Rust version)


Languages

Language:Rust 97.8%Language:Makefile 2.2%