Automating TheHive 5 and MISP takes no code: a ready-made scenario does the routine for you.
Starts when: Click Up Trigger
Then: Google Calendar
You can launch this TheHive 5 + MISP integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.