Skip to content

Python API wrapper for VMware AirWatch (now Workspace ONE UEM)

License

Notifications You must be signed in to change notification settings

jprichards/PyVMwareAirWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyVMwareAirWatch

PyVMwareAirWatch is a Python API library for VMware AirWatch 9.1+ (now named Workspace ONE UEM)

Usage:

from pyairwatch.client import AirWatchAPI

a = AirWatchAPI(env='your_environment_url',
                apikey='your_api_token_key',
                username='username',
                password='password')


# Get the OG ID for a specified Group ID
a.groups.get_id_from_groupid(groupid='testog')

# Create a Child OG for a specified Parent OG Group ID (Type/Name optional)
a.groups.create_child_og(parent_groupid='testog', groupid='newog', og_type='Container', name='newog')

# Get the Smart Group ID for a specified OG ID and Smart Group Name
a.smartgroups.get_id_from_og_id(og_id=7, sg_name='apitest')

# Get a Device ID via an alternate device identifier
a.devices.get_id_by_alt_id(serialnumber='C09Z1TC8FJWT')

Supported Functionality

  • Devices
    • Get Device Details by Alt ID (Macaddress, Udid, Serialnumber, ImeiNumber, EasId)
    • Get Device ID by Alt ID (Macaddress, Udid, Serialnumber, ImeiNumber, EasId)
  • Users
    • Search for users by Username, Firstname, Lastname, Email, OrganizationGroupID, or Role
  • Groups
    • Get OG ID from Group ID
    • Create Customer type OG (On-Prem only)
    • Create Child OG
  • Smart Groups
    • Get SG ID by Name and OG ID
  • Admins
    • Search for admins by Username, Firstname, Lastname, Email, OrganizationGroupID, or Role
  • User Groups
    • Search for user groups
    • Search for users within a user group
  • Tags
    • Get Tag ID from Tag Name
  • Profiles
    • Search for profiles by Type, Name, OG ID, Platform, Status, or Ownership

Requirements

About

Python API wrapper for VMware AirWatch (now Workspace ONE UEM)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages