Skip to main content
Figma is a collaborative web application for interface design.
本 notebook 介绍如何load data from the Figma REST API into a format that can be ingested into LangChain, along with example usage for code generation.
Figma API 需要访问令牌、node_ids 和文件密钥。 文件密钥可以从 URL 中获取。www.figma.com/file/{filekey}/sampleFilename Node ID 也可以在 URL 中找到。点击任何内容并查找 ‘?node-id={node_id}’ 参数。 Access token instructions are in the Figma help center article: help.figma.com/hc/en-us/articles/8085703771159-Manage-personal-access-tokens
response.content 中返回以下内容: