Giter Club home page Giter Club logo

Comments (3)

stevedsun avatar stevedsun commented on June 4, 2024 1

Hi @Bobronium , due to Notion API limitation, following types could not be parsed:

  • embed
  • synced_block
  • link_to_page (Notion return "unsupport" type when I debug API response.)

But other types are supported and in my dev plan, welcome to contribute code.

The old project code using token_v2 to parse webpage, could not keep up with Notion official updates, therefore I updated it with Notion-API instead.

Now this project has some issues, like slow speed and parsing too many useless blocks. I am going to fix them as soon as possible.

from notion-graph-view.

stevedsun avatar stevedsun commented on June 4, 2024 1

Sorry I debug it by my own Notion account, so I cannot share it with you.
You can reproduce it by:

  1. create a page (say A), add a link_to_page block in A
  2. call notion api to retrieve A's children: GET https://api.notion.com/v1/blocks/{Block_A_ID}/children
  3. You may find an "unsupport" type in children list

You can also refer to Notion API Reference

from notion-graph-view.

Bobronium avatar Bobronium commented on June 4, 2024

Thanks for response!

link_to_page (Notion return "unsupport" type when I debug API response.)

Could you give an example request, so I could continue from where you stopped?

It seems that Notion API support Link to Page block type. Maybe there's a bug in the API?

from notion-graph-view.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.