2026-02-13 14:35:50 +01:00
2026-02-11 21:12:07 +01:00
2026-02-11 21:12:07 +01:00
2026-02-13 14:35:50 +01:00
2026-02-11 19:42:12 +01:00
2026-02-11 19:58:06 +01:00

AirwatchAPI

A python module to help making API requests to Workspace One (aka Airwatch) servers easier.

Usage

You can create an AirwatchAPI object to connect to the API using either a certificate (recommended) or user credentials.

Examples :

  1. Certficate authentication
from AirwatchAPI import AirwatchAPI

airwatchServer = https://myAirwatchServer.local
airwatchAPIKey = "YOUR-API-KEY"
airwatchAuthMethod = "CMSURL"
airwatchCertPath = "./cert/your-cert.p12"
airwatchCertPass = "YOUR-CERT-PASSWORD"

airwatchConnector = AirwatchAPI(Server=airwatchServer, APIKey=airwatchAPIKey, AuthMethod=airwatchAuthMethod, CertPath=airwatchCertPath, CertPass=airwatchCertPass)

devices = airwatchConnector.GetDevices()
  1. Credentials authentication
from AirwatchAPI import AirwatchAPI

airwatchServer = https://myAirwatchServer.local
airwatchAPIKey = "YOUR-API-KEY"
airwatchAuthMethod = "PASSWORD"
airwatchUser = "YOUR-USERNAME"
airwatchPass = "YOUR-PASSWORD"

airwatchConnector = AirwatchAPI(Server=airwatchServer, APIKey=airwatchAPIKey, AuthMethod=airwatchAuthMethod, APIUser=airwatchUser, APIPassword=airwatchPass)

devices = airwatchConnector.GetDevices()
Description
A module python to make it easier to use Workspace One API
Readme 45 KiB
Languages
Python 100%