1.0.0 • Published 4 years ago
vps4you-api-wrapper v1.0.0
Vps4you api wrapper
Vps4you API wrapper for nodejs
This wrapper is based on the VPS4YOU API. You can get your API key here.
Table of Contents
Install
$ npm install vps4you-api-wrapper
Usage
const vps4you = require("vps4you-api-wrapper")
const apiKey = 'api key'
const email = "fegyverdavid.bator@gmail.com"
const Vps4you = new vps4you(email,apiKey)
Vps4you.listMyServices().then(response=>console.log(response.services[107144]))
Vps4you.listAllServices("vps").then(response=>console.log(response.packages))
Vps4you.getVersion().then(response=>console.log(response.version))
Check out the VPS4you API for more information!
API
Table of Contents
constructor
Parameters
Contributing
Contributions are welcome!
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Or open up a issue.
License
Licensed under the MIT License.
1.0.0
4 years ago