An unofficial API for Gravatar.com mostly for scrapping user data.
$ npm install --save gravator
username
of a gravatar user is alwaysfoo
@example.com
'use strict';
const gravator = require('gravator');
gravator('username', 'options').then(res => {
console.log(res);
// {opts: 'data'}
});
gravator('foo', 'hash').then(res => {
console.log(res);
// {opts: 'foo'}
})
Type: string
Type: string
Options:
id
Example
gravator('matt', 'id').then(res => {
console.log(res);
// // {opts: '5'}
});
-
hash
-
requestHash
-
profileUrl
-
preferredUsername
-
thumbnailUrl
-
photos
-
name
-
ims
-
displayName
-
aboutMe
-
currentLocation
-
emails
-
accounts
-
urls
-
gravator-cli
: CLI Tool for Gravator.
-
twifo
: Get user information of a twitter user.
MIT © Rishi Giri