https://github.com/dlion/node-catc
Node Cloud At Cost API wrapper
https://github.com/dlion/node-catc
cloudatcost node-wrapper nodejs wrapper
Last synced: about 1 year ago
JSON representation
Node Cloud At Cost API wrapper
- Host: GitHub
- URL: https://github.com/dlion/node-catc
- Owner: dlion
- License: mit
- Created: 2015-03-06T09:20:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-25T09:07:00.000Z (almost 11 years ago)
- Last Synced: 2025-03-25T01:01:50.801Z (about 1 year ago)
- Topics: cloudatcost, node-wrapper, nodejs, wrapper
- Language: JavaScript
- Size: 143 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#node-catc
A node.js wrapper for the Cloud At Cost API.
API Version: `v1`
## References
https://github.com/cloudatcost/api
## Installation
`npm install node-catc`
## Example
```js
var CatC = require('node-catc');
var api = new CatC('APIKEY', 'LOGINEMAIL');
api.listServers(function(err, res) {
if(!err) {
for(var i in res.data) {
console.log(res.data[i]);
}
}
});
api.listTemplates(function(err, res) {
if(!err) {
for(var i in res.data) {
console.log(res.data[i]);
}
}
});
```
## License
node-catc is licensed under MIT License. (See LICENSE)
## TODO
* Tests