View source: R/getNotionDatabaseMetadata.R
getNotionDatabaseMetadata | R Documentation |
Retrieve a database's metadata as referenced in Notion API: https://developers.notion.com/reference/get-database
getNotionDatabaseMetadata(secret, database, raw = FALSE)
secret |
Notion API token |
database |
Notion database ID |
raw |
if TRUE will not flatten into a data.frame |
data.frame
Eduardo Flores
## Not run:
my_db <- "database_id"
my_secret <- "NOTION API Secret"
my_db_data <- get_database_metadata(secret = my_secret, database = my_db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.