Extreme API with Python
Table Of Contents
- 1 Preface
- 2 Introduction
- 3 EXOS APIs
- 4 VOSS API
- 5 XMC API
- 6 ExtremeCloud IQ API
- 7 Extreme Campus Controller API
Extreme API with Python
Page | 6
Part no.9036931-00 Rev AA February 2021
2 Introduction
This document provides an easy approach to the various APIs within Extreme Networks solutions.
The programming language used here is Python 3, but other languages can also be used. The Python 3
was selected based on how easy it is for beginners to learn, and its wide use in the market.
2.1 Using Python
At the time this document was written, Python had two major versions: Python 2.7 and Python 3.
Although Python 2 has seen wide use and is often the default version of the programming language
installed on OS (Linux, MacOS), it has reached an end-of-support milestone (January 1
st
, 2020) and no
further development is planned. The current version of Python 2 is 2.7.18, released in April 2020. As a
result, this document references only the most recent version of Python 3, which is 3.8.3.
2.1.1 Install Python
This document does not address Python installation details. There are many resources available in
blogs, YouTube videos, and books.
The recommendation is to download the latest version of Python 3 directly from the Python website
(
HTTPS://www.python.org/downloads/) if you haven’t already installed it on your system. Linux and
MacOS had Python 2.7 pre-installed, however it is not included by default with Windows.
Use the commands shown below to verify which release you have from the command shell. These are
examples for Windows 10 and Ubuntu 20.04:
C:\Users\stgrosjean>python --version
Python 3.7.7
stef@ubuntu-lab:~$ python --version
Python 2.7.18rc1
stef@ubuntu-lab:~$ python3 --version
Python 3.8.2
Note: On the Ubuntu output, we have both Python 2 and Python 3 installed. To differentiate
between the two, you need to type either python (for Python 2) or python3 (for Python 3).
2.1.2 Update Your PATH
Update your PATH system variable to execute Python from anywhere on your PC. The most recent
Python installer can do this for you automatically.










