Comments (3)
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.
Sorry I debug it by my own Notion account, so I cannot share it with you.
You can reproduce it by:
- create a page (say A), add a link_to_page block in A
- call notion api to retrieve A's children: GET https://api.notion.com/v1/blocks/{Block_A_ID}/children
- You may find an "unsupport" type in children list
You can also refer to Notion API Reference
from notion-graph-view.
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)
- Authorisation problem - can you please help? HOT 1
- support for cycles HOT 2
- Crashes while building a graph HOT 5
- δΈζδΉ±η HOT 2
- requests.exceptions.HTTPError: Invalid input - message HOT 7
- nicodeEncodeError: 'charmap' HOT 3
- link_to_page working properly HOT 2
- Empty graph HOT 3
- Doesn't work with same database relationships
- Getting runtime error even after providing credentials HOT 2
- Could not find block with ID **** HOT 2
- Traceback error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-graph-view.