Skip to main content
Module

x/jamf_school/mod.ts>createClient

A simple, secure, correct, and modern Jamf School API wrapper. (Unofficial)
Latest
function createClient
import { createClient } from "https://deno.land/x/jamf_school@0.5.0/mod.ts";

Create an API client.

Clients are a high level abstraction of the Jamf School API.

const client = jamf.createClient({
  id: "your_network_id",
  token: "your_api_token",
  url: "https://your_school.jamfcloud.com",
});

const it = await client.getDeviceGroupByName("IT Devices");
await it?.restartDevices();

Parameters

init: Credentials | { api: jamfapi.API; }