0.0.6 • Published 9 months ago

@openctx/provider-notion v0.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Notion context provider for OpenCtx

This is a context provider for OpenCtx that provides Notion results as context via the mentions and items APIs.

Usage

Add the following to your settings in any OpenCtx client:

"openctx.providers": {
    // ...other providers...
    "https://openctx.org/npm/@openctx/provider-notion": {
        "auth": "<your notion bot access token>"
    }
},

See https://developers.notion.com/docs/getting-started to get set up with a token for the Notion API.

Remember to add your integration to a page such that it can search that page and all sub pages.

Configuration

This provider configuration is a subset of the configuration for the NotionHQ JavaScript client:

  • auth :: Bearer token for authentication. Required.
  • logLevel :: Verbosity of logs the client will produce. Levels are "debug", "info", "warn" (default) and "error".
  • timeoutMs :: The number of milliseconds to wait before timing out an API call to Notion. Defaults to 60000.

Development

0.0.6

9 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago