0.0.1 • Published 7 years ago

horseman-api v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Horseman Api

const horseman = require('horseman')()

// start a new job
horseman.job.create(params).then(console.log).catch(console.error)
// get a job
horseman.job.get('<job-id>', '<access-token>').then(console.log).catch(console.error)
// stop a job
horseman.job.destroy('<job-id>', '<access-token>').then(console.log).catch(console.error)
// get the job archive
horseman.job.getArchive('<job-id>', '<access-token>').then(console.log).catch(console.error)