Hello,
I'm trying to collect inventory data from the JSS via API calls using Python.
When I make a request
import requests
jss_application_usage = requests.get('https://domain.jamfcloud.com/JSSResource/computerapplicationusage/id/%s/%s_%s' % (computer_id, yesterday, today), auth=HTTPBasicAuth(api_user, api_password))
and try to see what type of content gets sent to me,
print jss_application_usage.headers['content-type']
I only get text/xml;charset=UTF-8
as my response.
So my question is, is there a way to get back json data instead of XML? Is this something that needs to be configured on the JSS?
Thanks!