A functional, easy to use Python wrapper of Notion Api

A functional, easy to use Python wrapper of Notion Api.

pip install notion-potion

Quick Start

Authentication

from potion import Request, NotionHeader

token = ''

nh = NotionHeader(authorization=token)
req = Request(nh.headers)

Create an integration follow this official tutorial to get token.

A ‘retrieve’ example. (Full code can be found here)

from potion.api import *

print(req.get(

 

To finish reading, please visit source site