Stats

 Latest version : 0.0.4

 Last updated on 2015-08-26T23:11:49.899Z

 Keywords : acquia, cloud, api, rest, client

 Downloads :

  • 9 in Last Month

 Links :

 Examples

¯\_(ツ)_/¯
No examples found for this package

 Readme

Summary

usage JS

api.envs(process.env.ACQUIA_SITE, function(err,envs){
  if(err){
    console.log("error looking up envs")
    return
  }
  for(var i = 0; i < envs.length; ++i){
    console.log("env: " + envs[i].name + ", version: " + envs[i].vcs_path);
  }
});

usage coffee e.g. hubot

api.envs process.env.ACQUIA_SITE, (err,envs)->
  if err
    res.reply("error looking up envs")
    return
  res.reply "env: " + site.name + ", version: " + site.vcs_path for site in envs

Installation

npm install --save acquia-cloud-client

 Comments