Learn R Programming

Rigma (version 0.3.0)

get_file_components: GET file components

Description

Get a list of published components within a file library. Note that published components are only available via the professional plan.

Usage

get_file_components(file_key)

Value

S3 object of class rigma_get_file_components. Components are stored in the meta field.

Arguments

file_key

string. The key that a Figma file is referred by.

Examples

Run this code
if (FALSE) { # Sys.getenv("FIGMA_ACCESS_TOKEN") != ""
if (FALSE) {
#navigate to team page and get id from url
file_key <- "gYRjH0y8ZM0VtEfO8kf6ch"
get_file_components(file_key)
}
}

Run the code above in your browser using DataLab