1.0.0 • Published 4 years ago

vps4you-api-wrapper v1.0.0

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

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

  • email String email for accessing the VPS4you API
  • apikey String api key for accessing the VPS4you API

Contributing

Contributions are welcome!

  1. Fork it.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or open up a issue.

License

Licensed under the MIT License.

1.0.0

4 years ago