AppFog-api
========== Node Module for interacting with the appfog API
Thanks to Luc Perkins for his repo appfog-api-docs it was a great jumoing off point.
Installation
npm install appfog-api
Usage
Options in bold are Required
login
Options
email
: login emailpassword
: login password
Returns
error || null
token
afapi = ;afapi;
apps
Returns
error || null
apps
: Object of 'apps' with keys 0-n (number of applications on your account)
afapi = ;afapi;
app
afapi = ;afapi;
stats
Options
- appname: case sensitive name of application to inspect
Returns
error || null
app
afapi = ;afapi;
infras
Returns
error || null
apps
: Object of 'apps' with keys 0-n (number of applications on your account)
afapi = ;afapi;
Services
Returns
error || null
services
:
afapi = ;afapi;
Dev Roadmap
Version 1.x.x
- login
- info
- apps
- stats
- infras
- update
version 2.x.x
- create-service
- download
- export-service
- import-service
- delete
version 3.x.x
- git post recieve hook for deploying application
- install to appfog (CI/CD/scriptable actions)