0.0.3 • Published 11 years ago

glesys v0.0.3

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

Description

Based on the Glesys API documentation

Example Usage

var Glesys = require('glesys');

var api = Glesys({
  'customer_id': 'your customer-id',
  'api_key': 'your api-key'
});

api.server_list({}, function(err, list) {
  console.log(list);
});

Note: there is currently quite some code duplication, but this allows it for easy code files per request

API

All request follow the same convention:

server_list(options, callback) where callback has error,value

Server

Functions implemented

Other

Currently only the server API is implemented

Tests

  • The tests currently run against a real(test) account
  • Signing up at Glesys is free, you are only invoiced per usage
  • For testing it's best to create a API test account and use that
  • This test account will be limited to 2 servers and will not be billed
  • cp config_sample.js config.js and edit the credentials in the file

License

MIT