Skip to main content
Question

JAMF School APi

  • May 10, 2022
  • 2 replies
  • 8 views

Forum|alt.badge.img+1

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

Fluffy
Forum|alt.badge.img+10
  • Honored Contributor
  • 209 replies
  • May 10, 2022

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


Forum|alt.badge.img+7
  • Contributor
  • 39 replies
  • July 4, 2022

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