Использование токена для выполнения запросов
$ curl -sH 'X-Figma-Token: 29-206...'
'https://api.figma.com/v1/files/...'
| python -m json.tool
{
"components": {},
"document": {
"children": [
{
"backgroundColor": {
"a": 1,
"b": 0.8980392156862745,
"g": 0.8980392156862745,
"r": 0.8980392156862745
},
"children": [],
"exportSettings": [],
"id": "0:1",
"name": "Page 1",
"type": "CANVAS",
"visible": true
}
],
"id": "0:0",
"name": "Document",
"type": "DOCUMENT",
"visible": true
},
"schemaVersion": 0
}
Foolish Fowl