Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Create a fast mode #73

Open
pedrosimao opened this issue Jan 14, 2023 · 3 comments
Open

[Feature request]: Create a fast mode #73

pedrosimao opened this issue Jan 14, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@pedrosimao
Copy link

Suggestion

enex2notion currently adds block by block of content, making it quite slow.
While reading the Notion API docs I found that Pages/Database entries can be created with all blocks defined in the children property all at once.
I imagine there must be a limitation for this method, since it was not used by the library.
So, what about creating a --fast mode that predefines all blocks in only one Page/DB creation request? If there are limtation we can just list them in the documentation.

@pedrosimao pedrosimao added the enhancement New feature or request label Jan 14, 2023
@gubenkoved
Copy link

gubenkoved commented Dec 10, 2023

It would be really nice to hear from author why this API is not being used (POST https://api.notion.com/v1/pages as far as I understand).

Could be a good candidate for a community PR if author thinks that is reasonable direction to go, but simply does not have time/interest in making it done.

PS. I am not a big note taker but migrating my notes is taking me more than 12h already (and it is about half completed).

@vzhd1701
Copy link
Owner

I am planning to switch to the official API later. Currently it has some limitations, most notably it lacks a file upload function which will prevent users from uploading notes with pictures and files.

@tastyratz
Copy link

Could those notes which are limited be detected and handled accordingly while the ones which don't require block based utilize the new API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants