{"repo":"Amatobahn/FigmaPy","free":true,"listed":false,"github":"https://github.com/Amatobahn/FigmaPy","clone":"git clone https://github.com/Amatobahn/FigmaPy.git","description":"An unofficial Python3+ wrapper for Figma API","language":"Python","stars":59,"topics":["figma","python3","python","api","webapi","wrapper-api"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"FigmaPy An unofficial Python wrapper for the Figma REST API. Every endpoint and every response model is generated from Figma's official OpenAPI spec, so the wrapper tracks the API instead of chasing it. All 54 operations are covered, sync and async, with type hints. Install Python 3.10+. Depends on httpx and pydantic . Getting a token A personal access token from Figma account settings is enough for most scripts: What you can call Method names come straight from the spec's operation ids, converted to snake case: get file , get file nodes , get images , get team projects , post comment , get local variables , get dev resources , and so on. Your editor will autocomplete them, and each one carries the endpoint's own documentation as a docstring. List arguments are joined with commas for you. Arguments you leave out are not sent. Async The async client is the same surface with await in front of it. It is generated from the same template as the sync one, so the two can never drift apart. Use it when you are fetching many files at once. For a single request it buys nothing — use Figma . Walking a file Figma files are deeply nested trees. These helpers are plain functions, so they keep working across regenerations: Errors 429s and 5xx are retried automatically, honouring Retry-After and otherwise backing off exponentially with jitter. max retries=0 turns that off. Nothing here should ever block you Figma ships API changes whenever it likes, and this package will sometimes be a relea","default_branch":null,"files":null,"tree":[],"storefront":"/r/Amatobahn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Amatobahn/FigmaPy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}