Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.09 KB

Voltus API Examples

Examples of using the Voltus API. These examples are written in Python using Flask and requests (two popular libraries for writing web servers and making HTTP requests, respectively).

Note These examples are deliberately simplified to be readable and understandable by a broad audience. They are intended to help developers learn how to use the Voltus API and should not be considered "production ready".

To run these examples, we recommend using virtualenv, which allows you to install the above libraries without affecting the rest of your system.

On Windows:

python3 -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

On Linux or MacOS:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

After that, you should be able to run the examples. For example:

cd polling
python dispatch-polling-stage2.py