notion_python_client package#

Subpackages#

Submodules#

notion_python_client.client module#

class notion_python_client.client.Client(base_url: str, api_key: str)#

Bases: object

headers()#

notion_python_client.constants module#

notion_python_client.core module#

class notion_python_client.core.NPC(api_key)#

Bases: object

notion_python_client.exceptions module#

exception notion_python_client.exceptions.APIException(status_code, message)#

Bases: Exception

exception notion_python_client.exceptions.PageValidationException(message)#

Bases: Exception

exception notion_python_client.exceptions.PropertyNotIncludedException(property_name)#

Bases: Exception

exception notion_python_client.exceptions.PropertyTypeException(excpected_type, actual_type)#

Bases: Exception

exception notion_python_client.exceptions.RelationOutOfRangeException(relation_idx, relation_count)#

Bases: Exception

notion_python_client.validation module#

Module contents#

class notion_python_client.NPC(api_key)#

Bases: object