AguaClara / aide_design_specs

MIT License
0 stars 2 forks source link

Export variables and values from Onshape using Onshape API #9

Closed nwangg closed 4 years ago

fletchapin commented 4 years ago

This will require us to setup an Onshape client with an acceptable auth mechanism. This function from @ethan92429 is a great starting point: https://github.com/onshape-public/onshape-clients/blob/master/python/test/test_get_variables.py#L29

fletchapin commented 4 years ago

We'd like to set up this code in a free Heroku server which uses a 'bot' user's API key to obtain variables from Onshape document. The document's context will be passed in through the Onshape App feature (where you can embed another webpage similar to a feature)