Learn R Programming

Rigma (version 0.3.0)

get_comments: GET comments

Description

Gets a list of comments left on the file.

Usage

get_comments(file_key)

Value

S3 object of class rigma_get_comments. Contains the parsed JSON response.

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  file and get key from url
file_key <- "sFHgQh9dL6369o5wrZHmdR"
get_comments(file_key)
}
}

Run the code above in your browser using DataLab