Is there any API/SDK to parse Figma file for UI component?

Hi all,

I want to develop an app that takes a Figma design file as input, then convert all UI component to HTML code. To do that, I need to be able to parse the Figma first. Is there any API or SDK to do that?

Thanks!

https://www.figma.com/developers