Sample Apps
The easiest way to get started with the Onshape API is to look at our sample applications. Each sample application is provided as a Github repository. For access, go to https://github.com/onshape-public.
Sample Apps and Tutorials
- In Sync Data and Metadata, we set up a third-party OAuth application and pull part numbers into it from Onshape.
- Whether data is released initially in Onshape or in the third-party application, those releases must be kept in sync. In Sync Releases and Revisions, we use part number data (pushed to the third-party application in the previous tutorial) to release data and push notifications back to Onshape.
- Generate Derivative Files deals with the creation of derivative files (such as PDF, STEP, etc.) once the release has been successfully completed.
- In the Extensions tutorial, we add our app to an extension in the right-hand fly-out panel in Onshape.
- In the glTF Viewer app, we authenticate with OAuth2 and fetch a glTF representation of an Onshape model.