fakenamegenerator-api
Easily scrape data from fakenamegenerator.com
Syntax:
//All parameters are optionals
Usage examples:
const fng = //Get a random person //Get a random female person //Get a random person who has a 20% chance of being a woman, who lives in France, //who is between 23 and 45 years old, and who has a name that sounds French
Usage details:
- gender:
- Use
m
,male
,man
,boy
, orguy
to get at 100% chances a man - Use
f
,female
,woman
,girl
, orlady
to get at 100% chances a woman 20
will generate a woman at 20% chance
- Use
- country:
- Use the country code (ex:
fr
to get a french address)
- Use the country code (ex:
- age:
ageMin
corresponds to the minimum age of the generated personageMax
corresponds to the maximum age of the generated person
- name sound:
- Use the country code (ex:
fr
to get a name that sound french)
- Use the country code (ex: