Package: figma 0.2.0

figma: Web Client/Wrapper to the 'Figma API'

An easy-to-use web client/wrapper for the 'Figma API' <https://www.figma.com/developers/api>. It allows you to bring all data from a 'Figma' file to your 'R' session. This includes the data of all objects that you have drawn in this file, and their respective canvas/page metadata.

Authors:Pedro Faria [aut, cre, cph]

figma_0.2.0.tar.gz
figma_0.2.0.zip(r-4.7)figma_0.2.0.zip(r-4.6)figma_0.2.0.zip(r-4.5)
figma_0.2.0.tgz(r-4.6-any)figma_0.2.0.tgz(r-4.5-any)
figma_0.2.0.tar.gz(r-4.7-any)figma_0.2.0.tar.gz(r-4.6-any)
figma_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
figma/json (API)

# Install 'figma' in R:
install.packages('figma', repos = c('https://pedropark99.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pedropark99/figma/issues

Pkgdown/docs site:https://pedropark99.github.io

Datasets:

On CRAN:

Conda:

apiapi-restfigma

5.43 score 5 stars 36 scripts 264 downloads 8 exports 27 dependencies

Last updated from:89b281e0ce. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK139
source / vignettesOK170
linux-release-x86_64OK121
macos-release-arm64OK152
macos-oldrel-arm64OK172
windows-develOK75
windows-releaseOK74
windows-oldrelOK80
wasm-releaseOK98

Exports:as_figma_documentas_tibbledefault_attrsdocument_attrsget_document_infoget_endpoint_urlget_figma_fileget_figma_page

Dependencies:askpassclicpp11curldplyrgenericsgluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigpurrrR6rlangstringistringrsystibbletidyrtidyselectutf8vctrswithr

Building custom CSS from the Figma API
Introduction | About the quarto_website object | Lets reshape the object | The nav-bar component as an example | Extracting the CSS selector | Getting the background color | Building an attribute processor | The CSS code for background color | Conclusion

Last update: 2023-01-02
Started: 2022-12-10

Get your Figma file into R
1. Introduction | 1.1 Is always nice to read the official Figma API documentation | 1.2 Finding the key (or ID) of your Figma file | 1.3 Get your personal access token | 1.4 Use get_figma_file() to get your Figma file | 1.5 Using the response object | 1.6 Output a Figma Document object | 1.7 Output a tibble::tibble() object

Last update: 2022-11-02
Started: 2022-10-29

Common HTTP errors in the Figma API
Introduction | Most common HTTP errors | Wrong node ID in figma::get_figma_page() results in status code 400 | 404: File not found | 403: Invalid token | Other possible HTTP errors

Last update: 2022-11-02
Started: 2022-10-30