Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 545 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 545 Bytes

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
})