Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 522 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 522 Bytes

WIP Python client for official Notion API (now in public beta)

$ pip install zotion
>>> from zotion.client import Notion
>>> notion = Notion('YOUR_NOTION_API_KEY')
>>> database = notion.retrieve_database('YOUR_DATABASE_ID')

Database will be an addict object, so you can easily access info just doing this:

>>> database.title[0].text.content
>>> 'My great database'

For now just internal integrations.

Feel free to contribute.

MIT license.