search_workspace: Search for databases and pages

Description Usage Arguments Value See Also

View source: R/search.R

Description

Search for databases and pages, using filters and sorts to limit which/how pages and databases are returned.

Usage

1
search_workspace(key, query = NULL, sort = NULL, filter = NULL)

Arguments

key

Notion access key.

query

A string which limits which pages are returned by comparing the query to the page title. If NULL, no limiting occurs.

sort

A search sort object. If NULL, no sorting will occur.

filter

A search filter object. If NULL no filtering will occur.

Value

A list of pages and/or databases.

See Also

search_filter() and search_sort() to see details on how to correctly construct filter and sort objects.


dmolitor/notionr documentation built on Dec. 20, 2021, 12:11 a.m.