evertheylen / notion-export-ics

Export Notion Databases to ICS files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️ Unmaintained!


Notion Export to ICS

This is a simple Python script to export a Notion database with a 'Date' attribute to an ICS file. All the heavy lifting is done by the notion-py library. You'll need to provide a settings.json file with the following keys:

  • token: the token_v2 you can get from your browsers cookies
  • block: the Notion URL of your database
  • property: the name of the property you want to use as the date

Also make sure that the make_title function in the make_ics script fits your Database.

If you run this script in a cron job, and publish it on some publicly reachable URL, you can import it into Google Calendar :).

Interested in these kinds of hacks? There's more at our Notion Hacks community!

About

Export Notion Databases to ICS files


Languages

Language:Python 76.9%Language:HTML 23.1%