notion_search: Notion's Search API

Description Usage Arguments Details Examples

View source: R/notion_search.R

Description

Wrapper function for Notion's Search API'

Usage

1
2
3
4
5
6
7
8
9
notion_search(
  query = NULL,
  sort = NULL,
  filter = NULL,
  start_cursor = NULL,
  page_size = NULL,
  api_rate_limited = 1/3,
  ...
)

Arguments

query

a length 1 character vector. When supplied, limits which pages are returned by comparing the query to the page title.

sort

a notion sort object generated by sort_notion function. When supplied, sorts the results based on the provided criteria.

filter

a notion filter object generated by filter_notion function. When supplied, filters the results based on the provided criteria.

start_cursor

a length 1 character vector. If supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.

page_size

a length 1 integer vector. The number of items from the full list desired in the response. Maximum: 100

api_rate_limited

The rate limit for incoming requests is an average of 3 requests per second. Some bursts beyond the average rate are allowed.

Details

please check: https://developers.notion.com/reference/post-search

Examples

1

Songyosr/Rnotion documentation built on Dec. 18, 2021, 2:07 p.m.