1.6.0 • Published 8 years ago

hyper-api v1.6.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Hyper API Node.js SDK

var Hyper = require('hyper-api')

// You can do it like this
let api = new Hyper()
// this reads the access and secret from the environment
// HYPER_ACCESS
// HYPER_SECRET

// or you can specify it like this
let api = new Hyper({
  credential: {
    accessKey: '###',
    secretKey: '###'
  }
})
api.get('/containers/json').then(c => console.log(c))

let createOptions = {
  Image: 'ubuntu',
  Cmd: 'date'
}
api.post('/containers/create', createOptions)
  .then(c => console.log(c))
  .catch((e) => console.log(e))
1.6.0

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago