Skip to content

Instantly share code, notes, and snippets.

@9oelM
Last active August 29, 2022 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 9oelM/ea5083eeccf3baa9697d4ce8af73d7ac to your computer and use it in GitHub Desktop.
Save 9oelM/ea5083eeccf3baa9697d4ce8af73d7ac to your computer and use it in GitHub Desktop.
notion-client debugging
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