Class: NotionReader
A reader takes imports data into Document objects.
Implements
Constructors
constructor
• new NotionReader(options
)
Parameters
Name | Type |
---|---|
options | Object |
options.client | default |
Defined in
Properties
client
• Private
client: default
Defined in
Methods
loadData
▸ loadData(pageId
): Promise
<Document
[]>
Parameters
Name | Type |
---|---|
pageId | string |
Returns
Promise
<Document
[]>