Skip to content

qmexnetworks/halopsa-api.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

halopsa-api.ts

A TypeScript/Deno implementation of (parts of) the HaloPSA API

Examples

Get all Assets for a single client

// Instantiate the HaloPSA API client
const halopsa = new HaloPSA("https://company.halopsa.com", "my-jwt-api-token");

// Fetch all clients (this automatically takes care of pagination)
const clients = await halopsa.clients();

// Select some client
const myFavoriteClient = clients[0];

// Load all assets for this client
const assets = halopsa.assets(myFavoriteClient.id);

About

A TypeScript/Deno implementation of (parts of) the HaloPSA API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published