Using Jupyter for prototyping
Now that you've deployed your first application, you're probably eager to explore the functionality of the API and see it in action!
Example of a deployed Jupyter notebook.
Use Jupyter notebooks to interact with NOVA API and prototype your application in Python. Learn Wandelscript at your own pace and still program robots in the meantime!
There are two ways to use Jupyter notebooks with the Wandelbots NOVA API:
- Local Jupyter notebook: Run a Jupyter notebook on your local machine and interact with the API.
- Jupyter notebook on instance: Deploy a Jupyter notebook on your Wandelbots NOVA instance by installing it from the examples section and interact with the API.
Local Jupyter notebook
Run a Jupyter notebook on your local machine to interact with the API. This allows you to quickly prototype and test your application.
-
Check out the Python client code providing access to the NOVA API from Github (opens in a new tab).
-
Use this Jupyter notebook code (opens in a new tab) to interact with the API.
-
Follow the instructions in the Jupyter notebook to connect to an instance, configure a robot (motion group), and control a robot. Use this notebook as a starting point for your application.
-
Configure the environment variables
WANDELAPI_BASE_URL
andNOVA_ACCESS_TOKEN
to point to your instance and provide the access token of your instance to run the notebook. You can find the access token in the instance details in the Developer Portal (opens in a new tab) or use thenova login token
to print your current cli token.
Jupyter notebook on instance
Deploy a Jupyter notebook on your Wandelbots NOVA instance to interact with the API without installing a Jupyter notebook on your local machine.
- Install the Jupyter notebook on your instance by following the steps in the examples section.
- Access the Jupyter notebook from the home screen of your instance.
API Differences
The API in a Jupyter notebook on your instance uses the convenient Python client (opens in a new tab) by default.
The convenient Python client provides a more user-friendly interface to NOVA API and simplifies the interaction with the API. At the same time, it provides a beginner-friendly selection of the API that doesn't include all NOVA API functionality. We recommend to try out the convenient Python client first and then switch to the autogenerated Python client (opens in a new tab) once you need more flexibility or want to use the API directly.