Skip to main content
Module

x/notion_sdk/src/mod.ts

Unofficial Notion Deno Client, port of the official Node.JS Client
Latest
import * as notionSdk from "https://deno.land/x/notion_sdk@v2.2.3/src/mod.ts";

Classes

A response from the API indicating a problem. Use the code property to handle various kinds of errors. All its possible values are in APIErrorCode.

Error thrown by the client if a request times out.

Error thrown if an API call responds with an unknown error code, or does not respond with a property-formatted error.

Enums

Error codes returned in responses from the API.

Error codes generated for client errors.

Functions

Collect all of the results of paginating an API into an in-memory array.

Returns an async iterator over the results of any paginated Notion API.

Type Aliases

Error type that encompasses all the kinds of errors that the Notion client will throw.

Error codes on errors thrown by the Client.