Figma published an article about Figma’s API but it’s more romantic, carry on overview purposes than practical.

We will talk about practice. So, when I found out that Figma released a Web API I went to the https://www.figma.com/developers/docs#intro and start to find the way how I could start with API. My aim was to get a JSON file, it’s very helpful when you have a deal with design-library for example, but I didn’t find any script which I could copy/paste and check it by myself only API description it’s definitely helpful but when you already knew how to get JSON. But I found some examples on GitHub here.

I show you a script and we will break it down, show how you could filter it.