A JavaScript wrapper for TinyFaces API
$ yarn add tinyfacesconst tinyfaces = require('tinyfaces')
tinyfaces().then(t => console.log(t))
/*
[{
avatars: [ [Object], ...],
avatars_origin: {
facebook_profile_link: FB_URL,
id: 862,
name: 'Jakk Sheer'
},
first_name: 'Jakk',
gender: 'male',
last_name: 'Sheer'
}, ...]
*/Type: object
Returns a promise
Type: string
Default: returns both genders
Options: male / female
Tinyface gender
Type: number
Options: 1, 2, 3, 4, 5, 6
Tinyface avatar quality โ 1: low / 6: high
- You canโt use any of our content next to any adult or discrimating content.
- You should never use the real name of the person in the photo in your designs.
- Never use a photo for fake testimonals.
- This list of rules might grow in the future and should be checked regularly.
MIT ยฉ Bu Kinoshita
