Skip to content

Instantly share code, notes, and snippets.

@iddan
Created August 20, 2019 07:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iddan/1e86a0c5310a04736a7e9e515e3e8a29 to your computer and use it in GitHub Desktop.
Save iddan/1e86a0c5310a04736a7e9e515e3e8a29 to your computer and use it in GitHub Desktop.
Notion to Pandas
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@VianneyMI
Copy link

@iddan whenever I use the get_block method I get an HTTP Error as shown below
image

@unchs
Copy link

unchs commented Nov 24, 2022

Nice work!

Any plans on when this feature gets implemented ?
if mode not in ("a", "append"):
raise NotImplementedError
# TODO: clean the current values in the notion database (if any)

@VianneyMI
Copy link

@unchs

Notion has released an official API now, you can use it, even though it also comes with its own set of challenges
https://developers.notion.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment