Permalink
Browse files

Adding app_logs support, bump version number for npm

  • Loading branch information...
1 parent 93e842f commit 4fe39e237667e8466cedb13777c1ea3bda407737 @DanBUK DanBUK committed Feb 5, 2011
Showing with 7 additions and 1 deletion.
  1. +6 −0 nodester.js
  2. +1 −1 package.json
View
@@ -106,6 +106,12 @@ nodester.prototype.app_info = function (name, cb) {
});
};
+nodester.prototype.app_logs = function (name, cb) {
+ request({uri: this.baseurl + "applogs/" + name, method: 'GET', headers: headers}, function (err, response, body) {
+ cb(JSON.parse(body));
+ });
+};
+
nodester.prototype.appnpm_handler = function (name, package, action, cb) {
request({uri: this.baseurl + "appnpm", method: 'POST', headers: headers, body: querystring.stringify({appname: name, package: package, action: action})}, function (err, response, body) {
cb(JSON.parse(body));
View
@@ -1,7 +1,7 @@
{
"name": "nodester-api",
"description": "A module to allow interaction with the http://nodester.com/ platform.",
- "version": "0.1.2",
+ "version": "0.1.3",
"homepage": "http://nodester.com/",
"repository": "git://github.com/nodester/nodester-api.git",
"author": "Daniel Bartlett <dan@f-box.org> (http://danb-uk.net/)",

0 comments on commit 4fe39e2

Please sign in to comment.