Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Rewrite with official Notion API #41

Open
17 tasks
Cobertos opened this issue Aug 6, 2021 · 5 comments
Open
17 tasks

Rewrite with official Notion API #41

Cobertos opened this issue Aug 6, 2021 · 5 comments

Comments

@Cobertos
Copy link
Owner

Cobertos commented Aug 6, 2021

It would be nice to use notion-sdk-py to rewrite this to target the official API.

Notion API needs to support:

  • Creating new pages
    • Creating new pages at root
    • Creating new pages elsewhere
  • Creating blocks of type
    • CodeBlock
      • Setting language
    • TextBlock
    • DividerBlock
    • HeaderBlock, SubheaderBlock, SubsubheaderBlock
    • QuoteBlock
    • NumberedListBlock
    • TodoBlock
    • BulletedListBlock
    • CollectionViewBlock
      • and add all rows
      • add titles
    • ImageBlock
      • Uploading image data from URL (or image data, we can fetch it ourselves)
    • EquationBlock

TODO: Gotta fill these in

@tonyxiao
Copy link

What's the advantage of using official Notion API over what is currently working?

@Cobertos
Copy link
Owner Author

I'm pretty sure they prefer the official API (I believe at one point they were throttling the old API). That and I don't think notion-py is maintained anymore

@mariusvniekerk
Copy link

Might be worth using https://github.com/jheddings/notional for this once that has reached sufficient maturity

@dprothero
Copy link

dprothero commented Dec 31, 2021

An unofficial API could break at any time. An official API will be supported and generally won't undergo breaking changes.

@Qouagga
Copy link

Qouagga commented Feb 24, 2023

Somebody work on this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants