Skip to content

loadlab/javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoadLab JS

Javascript Client for the LoadLab REST API.

CircleCI

Setup

$ npm i loadlab

Usage

const client = new LoadLab('<LOADLAB_API_TOKEN>')

// Get jobs
client.jobs.get().then(response => {
// do stuff with the response here
})

// Get plans
client.plans.get().then(response => {
// do stuff with the response here
})

// Get sites
client.sites.get().then(response => {
// do stuff with the response here
})