avatar-api

1.0.9 • Public • Published

avatar-api

Get a user's real name and photo from their email address. A Username and password is required, which you can get from http://www.avatarapi.com

Installation

npm install avatar-api --save

Usage

var api = require('avatar-api');
 
api.AvatarAPI("jenny.smith@gmail.com","***Your Username***","***Your Password****",function(data){
  console.log(data.profile.Name.toString());
  console.log(data.profile.Image.toString());
});

Dependencies

  • xml2js: Simple XML to JavaScript object converter.

Dev Dependencies

A Username and password is required, which you can get from http://www.avatarapi.com

License

ISC

/avatar-api/

    Package Sidebar

    Install

    npm i avatar-api

    Weekly Downloads

    7

    Version

    1.0.9

    License

    ISC

    Last publish

    Collaborators

    • infiniteloop.ie