is there an option to add by code electronic components instead of searching them manually?

I was trying to use the createShape API from here - https://docs.easyeda.com/en/API/3-API-List/index.html#Create-Shape



for exsample -

api('createShape', {shapeType:'schlib', shortUrl:'nxlVIGgQO', from:'system', title:'556_DIL14', x:400, y:300});
api('createShape', {shapeType:'FOOTPRINT', shortUrl:'RrkewO60i', from:'system', title:'ARDUINO_PRO_MINI', x:400, y:300});

(which are not working)

But i was unable to understand where i get the short url from and how i can determine the other parameters there - today i'm just doing it manually - but for large project, i would like to be able to do it via code if possible

any ideas?

#Feature Requests#
#FeatureRequests#
Feature Requests

No comments yet. Be the first to comment!