Skip to content

Instantly share code, notes, and snippets.

@Trey-S
Trey-S / notion2Habitica.py
Created November 3, 2023 03:56 — forked from gauchy/notion2Habitica.py
Notion to Habitica Sync tool
import requests, json
#Notion's token and databaseId
token = 'XXX'
databaseId = 'XXX'
#Notion's headers
headers = {
"Authorization": "Bearer " + token,
"Content-Type": "application/json",