KNotion

object KNotion

Entry point for creating and configuring a Notion API client. This object provides factory methods to create instances of KNotionClient with the necessary configuration.

Example usage:

val client = KNotion.setupClient("your-notion-api-token")

Functions

Link copied to clipboard
fun setupClient(accessToken: String): KNotionClient

Creates a new Notion API client instance with the provided access token.