sioncojp / go-jamf-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jamf API in Go

Install

import "github.com/sioncojp/go-jamf-api"

Usage

sample code: examples

Get auth token in curl

$ curl -u username:password -X POST "https://xxxxx.jamfcloud.com/uapi/auth/tokens"
$ token=xxxxx
$ curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $token" "https://xxxxx.jamfcloud.com/uapi/v1/departments"

About

License:Other


Languages

Language:Go 99.6%Language:Makefile 0.4%