Skip to contents

Retrieve a database's metadata as referenced in Notion API: https://developers.notion.com/reference/get-database

Usage

getNotionDatabaseMetadata(secret, database, raw = FALSE)

Arguments

secret

Notion API token

database

Notion database ID

raw

if TRUE will not flatten into a data.frame

Value

data.frame

Author

Eduardo Flores

Examples

if (FALSE) { # \dontrun{
my_db <- "database_id"
my_secret <- "NOTION API Secret"

my_db_data <- get_database_metadata(secret = my_secret, database = my_db)
} # }