The client supports all property types that are supported by the Notion API and makes it easy to automatically parse Python types. Property Values make up each entry in a Row object, and they contain values and properties for a row cell. Schema and Row objects contain Properties They are similar to Pandas series,ĭatabase objects are used to work with existing databases and create new ones, as a collection of rows. Row objects contain values, and work with existing rows and create new ones. Schema objects only contain the structure of the database or row, not the data. They are also used to update existing databases and rows. Schema objects are used to create new databases and rows. ( back to top) Package Overview The main classes are: Connector, Database, Row, and SchemaĬonnector objects are used to connect to the Notion API and work with the API. Install the package using pip pip install notion-toolkitĮxample Usage Adding a row to an existing database Update Notion database properties with custom Schema objects Also refer to the Notion API documentation for more information on the API itself. This is an example on how to get started with using the API client. Learn how to use it and create your own Notion integrations in minutes! Notion-DB is a powerful object-oriented client for the Notion API that allows you to easily access and work with notion Databases.
0 Comments
Leave a Reply. |