Skip to content

dlion/node-catc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

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

Releases

No releases published

Packages

No packages published