Skip to main content

Class: NotionReader

A reader takes imports data into Document objects.

Implements

Constructors

constructor

new NotionReader(options)

Parameters

NameType
optionsObject
options.clientdefault

Defined in

readers/NotionReader.ts:249

Properties

client

Private client: default

Defined in

readers/NotionReader.ts:247

Methods

loadData

loadData(pageId): Promise<Document[]>

Parameters

NameType
pageIdstring

Returns

Promise<Document[]>

Implementation of

BaseReader.loadData

Defined in

readers/NotionReader.ts:253