getNotionDatabaseMetadata {notionR} | R Documentation |
Returns the database metadata as a data.frame
Description
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(s)
Eduardo Flores
Examples
## 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)
[Package notionR version 0.0.9 Index]