Avatars.io client library
Hosted User Avatar Service for your Apps and Site.
Installation
npm install avatars.io
Usage
var AvatarsIO = ; // getting URLs to avatars from social networks AvatarsIO; // http://avatars.io/twitter/vdemedes // auto-detecting avatar on social networks AvatarsIO; // http://avatars.io/auto/vdemedesAvatarsIO; // http://avatars.io/auto/vdemedes?services=facebook,twitter // uploading own avatars AvatarsIOappId = 'your app id';AvatarsIOaccessToken = 'your access token'; AvatarsIO; // uploading own avatars with custom identifier assigned to them AvatarsIO;
Tests
Run tests by executing mocha
in Terminal.
License
© Chute Corporation.