How to get the svg code of a component using its id through python api? I use component_id.get(‘vectorNetwork’, {}) but it doesn’t work.
Page 1 / 1
What do you mean by Python API? Figma doesn’t have one.
If you are using REST API, you need to either export SVG through /images endpoint or use fillPath/strokePath property of a node.
Yes, I meant using the REST API in Python.
Thanks for the reply!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.