0.0.5 • Published 11 years ago

posterous-api-token v0.0.5

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

Posterous API Token

Posterous removed their end point for getting API tokens for users. This returns it using the Zombie Library, which allows you to run a headless browser in Node.

##Instalation You can grab it from the repo, or use NPM.

npm install posterous-api-token

##Usage It's a pretty straight forward lib with just one method getToken with the first argument being an object containing your email address for posterous as well as the password. The second argument is a callback to handle the response and it can return an error or the token.

var posterous-api-token = require('posterous-api-token');

var email = 'your-email-address';
var password = 'your-password';
posterous_api_token.getToken({email:email, password:password}, function(err, token){
   if(err){
	   console.log(err);
   }else{
	   console.log(token);
   }
});

###License

MIT http://rem.mit-license.org

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago