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