Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit fe96aab

Browse files
author
fredrikscode
committed
Added DeployedDevices()
1 parent 254c721 commit fe96aab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.py

+7
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,11 @@ def TunnelHealthDs(self):
3434
url = self.apiurl + "/mdm/tunnel/health/downstream"
3535
r = self.session.get(url)
3636
data = r.json()
37+
return data
38+
39+
# Retrieves the device count (Total, Security, Ownership, Platforms, Enrollmentstatus)
40+
def DeployedDevices(self):
41+
url = self.apiurl + "/mdm/devices/devicecountinfo"
42+
r = self.session.get(url)
43+
data = r.json()
3744
return data

0 commit comments

Comments
 (0)