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:
figma_0.2.0.tar.gz
figma_0.2.0.zip(r-4.5)figma_0.2.0.zip(r-4.4)figma_0.2.0.zip(r-4.3)
figma_0.2.0.tgz(r-4.4-any)figma_0.2.0.tgz(r-4.3-any)
figma_0.2.0.tar.gz(r-4.5-noble)figma_0.2.0.tar.gz(r-4.4-noble)
figma_0.2.0.tgz(r-4.4-emscripten)figma_0.2.0.tgz(r-4.3-emscripten)
figma.pdf |figma.html✨
figma/json (API)
NEWS
# 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
- quarto_website - A representation of a Quarto Website home webpage
- untitled_file - An example of a simple Figma file
Last updated 2 years agofrom:89b281e0ce. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-win | OK | Nov 23 2024 |
R-4.5-linux | OK | Nov 23 2024 |
R-4.4-win | OK | Nov 23 2024 |
R-4.4-mac | OK | Nov 23 2024 |
R-4.3-win | OK | Nov 23 2024 |
R-4.3-mac | OK | Nov 23 2024 |
Exports:as_figma_documentas_tibbledefault_attrsdocument_attrsget_document_infoget_endpoint_urlget_figma_fileget_figma_page
Dependencies:askpassclicpp11curldplyrfansigenericsgluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigpurrrR6rlangstringistringrsystibbletidyrtidyselectutf8vctrswithr
Building custom CSS from the Figma API
Rendered fromquarto-css.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2023-01-02
Started: 2022-12-10
Common HTTP errors in the Figma API
Rendered fromhttp-errors.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-11-02
Started: 2022-10-30
Get your Figma file into R
Rendered fromfigma.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-11-02
Started: 2022-10-29
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert a 'httr' response object to a Figma Document object | as_figma_document |
Convert a 'httr' response object to a 'tibble' object | as_tibble |
Build a query string from a set of named parameters | build_query_string |
Build the request URL | build_request_url |
Default attributes of every Figma node | default_attrs |
Default document attributes of a Figma file | document_attrs |
Get the document metadata of a Figma File from the API | get_document_info |
Get the URL to a endpoint of Figma API | get_endpoint_url |
Get data of a Figma File from the API | get_figma_file |
Get data of a specific canvas/page in a Figma File from the API | get_figma_page |
Parse the response data and fit it into a R object | parse_response_object |
A representation of a Quarto Website home webpage | quarto_website |
Select any of the elements in a object | select_any_of |
An example of a simple Figma file | untitled_file |