3 ms·
Slightly unrelated, but notion's unofficial python API is cool AF! https://github.com/jamalex/notion-py https://github.com/jamalex/notion-py It's way more powe
by sillysaurusx 5y ago
Slightly unrelated, but notion's unofficial python API is cool AF! https://github.com/jamalex/notion-py https://github.com/jamalex/notion-py
It's way more powerful than their official API. The official API can only interact with databases, which (as anyone who uses Notion knows) is a tiny subset of the overall things you want to use Notion for.
The unofficial Python API lets you have complete programmatic access to all notion pages.
The tradeoff is that certain things break. However, after reading the code, I found it quite easy to fix the problems I ran into (https://github.com/jamalex/notion-py/pull/345 https://github.com/jamalex/notion-py/pull/345) and I suspect you'll be able to do the same. (I empathize with maintainers not prioritizing their open source work ahead of family life, business, etc.)
Was surprised that it was even possible to have a nice Python class for every possible Notion object, let alone control them and update them on the fly. I wish their official API would be as flexible. Maybe one day.