1.0.9 • Published 7 years ago
avatar-api v1.0.9
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