Skip to content
A place for my "getting started with the SimpleMDM API" code
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Getting started with the SimpleMDM API and Python

I wrote a blog post about some baby steps in querying the SimpleMDM API using python and the python requests library.

This is my example code. It's not the prettiest, nor is it the cleverest, but it's worked for me.

Modify the key and serial variables with your SimpleMDM API key and a test device serial number respectively.

The code will return a device ID - as well as a group ID - and then belt and braces will return a list of ALL the groups in your SimpleMDM instance as unformatted json.

You can’t perform that action at this time.