knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(architekter)

Connection to Figma API and extraction of the content of a file: get_file_content() function

Connection to Figma API

Extraction of the content of a file (in the form of a list)

raw_file_content <- get_figma_file_content(file_key = "wRqIvMmymzSPuj0sEhnORb",
                                         acess_token = Sys.getenv("FIGMA_TOKEN"))


ThinkR-open/swatch documentation built on April 7, 2022, 6:08 p.m.