Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedi4ever/glesys.js
nodejs api for the glesys cloud
https://github.com/jedi4ever/glesys.js
Last synced: about 1 month ago
JSON representation
nodejs api for the glesys cloud
- Host: GitHub
- URL: https://github.com/jedi4ever/glesys.js
- Owner: jedi4ever
- License: mit
- Created: 2013-08-15T15:34:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-15T17:56:19.000Z (over 11 years ago)
- Last Synced: 2024-09-18T11:17:51.925Z (3 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# Description
Based on the [Glesys](http://glesys.com) [API documentation](https://github.com/GleSYS/API/wiki/Full-API-Documentation)# Example Usage
var Glesys = require('glesys');
var api = Glesys({
'username': 'your username',
'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
server_allowedarguments.js
server_clone.js
server_console.js
server_costs.js
server_create.js
server_destroy.js
server_details.js
server_edit.js
server_limits.js
server_list.js
server_reboot.js
server_resetlimit.js
server_resetpassword.js
server_resourceusage.js
server_start.js
server_status.js
server_stop.js
server_templates.js## 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