loadlab
Version:
LoadLab Javascript API
29 lines (20 loc) • 428 B
Markdown
Javascript Client for the LoadLab REST API.
$ npm i loadlab
```js
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
})
```