Getting Started

This page details how to download and install the API, as well as using the demo page.

Setting up the server

First you will need to set up the server on the computer that the BaseStation will be plugged into. To do this you need to follow the steps below:

Install Python

To install Python, you need to head here then download the correct version for the operating system you are using. If you are using MacOS or Linux, you can skip this stage as python is preinstalled on your OS.

Note

If you are using Windows, be sure to tick the box labled ‘Add Python to Path’ as this will enable you to use properly.

_images/install-python-path.jpg

Install dependencies

Then, you need to open up your terminal into the root of the files you downloaded earlier and run

$ pip install -r requirements.txt

This will install all of the required pip packages needed to run the server.

Run the server

Thats it! All the installing is done, and all thats left to do is run server.py in the API Server folder. However, you might want to check out the Configuring the server section on the API Calls page for details on how to customise the server.