Last active
August 29, 2022 03:22
-
-
Save 9oelM/ea5083eeccf3baa9697d4ce8af73d7ac to your computer and use it in GitHub Desktop.
notion-client debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NotionGraph } from "@graphcentral/notion-graph-scraper"; | |
(async () => { | |
const notionGraph = new NotionGraph({ | |
maxDiscoverableNodes: 2000, | |
maxDiscoverableNodesInOtherSpaces: 2000, | |
maxConcurrentRequest: 100, | |
verbose: true, | |
}); | |
const graph = await notionGraph.buildGraphFromRootNode( | |
`e040febf70a94950b8620e6f00005004` | |
); | |
process.exit(0); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment