JAMF School APi

dauneaus
New Contributor

I am looking at wanting a Powershell script to access the JAMF School API to pull a list of devices and their WiFi Mac addresses.

Any hints or directions for a start with he JAMF API?

2 REPLIES 2

Fluffy
Contributor III

I have used the API with Bash, so I can't advise specifically on using Powershell. But I have some other tips.

When pulling the device list, you may get a syntax/end of line error. What I have found so far that the culprit is the model names, with the quotes used for inches. Depending on how you pull the data, you may not come across that, but worth mentioning.

For documentation, refer to the dev guide and the API documentation accessible through your Jamf School instance (detailed in the beginning of the dev guide):

https://developer.jamf.com/developer-guide/docs/jamf-school

mh-jena
Contributor

I did this via python you can access my project on GitHub. https://github.com/heinrich-foto/jamf_api

Actually its not fully implemented. But there is a example for the MAC address