Skip to content

csamid/onshape-variables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onshape's Variables API Helper

A python class to easily interact with Onshape's Variables API

Prerequisites

Create API Keys

new_keys

  • Check the blue boxes and click on "Create API key"

create_keys

  • copy and save both keys in a file (I recommend you save it in a .env file. What is a .env? See this article!)

save_keys

Installation

You can install onshape-variables via pip:

pip install onshape-variables

Usage

from onshape_variables.variables import Variables

# create variables object
my_vs = Variables(api_keys, did, wid)

# create a varaible studio 
my_vs.create_varaible_studio(name="My Varaible Studio")

Check out the example notebook

Also see Onshape's documentation and API explorer

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change :)

About

A python class to easily interact with Onshape's Variables API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages