Cobertos / md2notion

A better Notion.so Markdown importer
MIT License
654 stars 65 forks source link

[Question] Is is possible to using Notion v3 API to clip a page to Notion database? #19

Closed realCrush closed 3 years ago

realCrush commented 3 years ago

Is is possible to using Notion v3 API to clip a page to Notion database? I know this question may be notion-py's part, but maybe you know anything about this? How can I use post or get method based on Notion v3 API to clip a page content? I use your repo and Mercury API for page clip, but I found lot of info missed when Mercury API get HTML or when HTML to Markdown, or even Markdown to Notion page😪

Hope you can answer and feedback.

Best

Cobertos commented 3 years ago

Looks like there's a addWebClipperURLs endpoint in the API. That would be more of a notion-py thing, and it doesn't look like it supports it. Considering it's not official it doesn't support everything

Here's the request payload. If you have the Chrome extension, you can right click Inspect inside the extension and view the network requests to see for yourself.

image

realCrush commented 3 years ago

thank you so much! It works.