Naturally Produced Modules
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    posterous-api-tokenpublic

    This package has been deprecated

    Author message:

    no

    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

    Keywords

    none

    install

    npm i posterous-api-token

    Downloadsweekly downloads

    8

    version

    0.0.5

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar