Module frameworks/network/getFromApi
Functions
getFromApi
- getFromApi(figmaToken: string, figmaUrl: string, versionName?: null | string, type?: "files" | "images"): Promise<ImageResponse>
Parameters
figmaToken: string
figmaUrl: string
Optional versionName: null | string
type: "files" | "images" = 'files'
Get data from the Figma API