API Example - Add, Update, and Remove Spot Service Configurations to Directory

These examples demonstrate how to use Spot’s Directory Client to list, register, update, and remove information about API services.

Setup Dependencies

This example needs to be run with python3. See the requirements.txt file for a list of dependencies which can be installed with pip using:

python -m pip install -r requirements.txt

Running the Example

To run the example:

python directory_modification.py --username USER --password PASSWORD ROBOT_IP