notion_export_enhancer
notion_export_enhancer copied to clipboard
Rewrite with official Notion API
It would be nice to use notion-sdk-py to rewrite this using the official API, as it uses very little of the Notion API to function (relying on the export to do most of the work).
Notion API needs to support:
- [x] Getting the icon
- Emailed Notion, and it's apparently got a couple upvotes in their internal list.
- [x] Getting any block by ID (you can get children of a block, and then get the parent, only applicable if this bug still exists)
- [x] Getting a pages title
- [x] Last updated and created time
Icon added in recent notion API update,m https://developers.notion.com/changelog/page-icons-cover-images-new-block-types-and-improved-page-file-properties
Initial work done in feat/new-api