Code Monkey home page Code Monkey logo

uinames's Introduction

uinames.com

This is the repo for uinames.com. Feel free to contribute to the project by adding names. Keep in mind that more isn't better. Quality over quantity. Quality being the most common/popular names in a region.

The Algorithm

When the option to pick a region at random is selected, a region will be picked based on the amount of possible name-combinations for that region. A region with more names is more likely to be picked, and regions with less names are less likely to be picked. I propose having a maximum of 100 male names, 100 female names and 300 last names per region. That's 60.000 possible combinations per region.

The Layout (JSON)

[
  {
    "region": "Region",
    "male": ["Male", "First", "Names"],
    "female": ["Female", "First", "Names"],
    "surnames": ["Last", "Names"]
  },
  {etc}
]

The API

All responses are returned as JSON(P) over HTTP(S). There is currently no request limit. However, please keep the amount of requests to a minimum, and cache responses whenever possible.

Basic usage

https://uinames.com/api/
---
{
  "name":"John",
  "surname":"Doe",
  "gender":"male",
  "region":"United States"
}

Optional Parameters

Number of names to return, between 1 and 500:

https://uinames.com/api/?amount=25

Limit results to the male or female gender:

https://uinames.com/api/?gender=female

Region-specific results:

https://uinames.com/api/?region=germany

Require a minimum number of characters in a name:

https://uinames.com/api/?minlen=25

Require a maximum number of characters in a name:

https://uinames.com/api/?maxlen=75

For JSONP, specify a callback function to wrap results in:

https://uinames.com/api/?callback=example

Extra Data

Additional random data is served to requests passing an ext parameter. However, response times may be slower, especially when requesting larger quantities of data. All photos are hand-picked from unsplash.com (license):

https://uinames.com/api/?ext
---
{
  "name": "John",
  "surname": "Doe",
  "gender": "male",
  "region": "United States",
  "age": 29,
  "title": "mr",
  "phone": "(123) 456 7890",
  "birthday": {
  "dmy": "19/06/1987", // day, month, year
  "mdy": "06/19/1987", // month, day, year
  "raw": 551062610 // UNIX timestamp
  },
  "email": "[email protected]",
  "password": "Doe87(!",
  "credit_card": {
    "expiration": "12/20",
    "number": "1234-5678-1234-5678",
    "pin": 1234,
    "security": 123
  },
  "photo": "https://uinames.com/api/photos/male/1.jpg"
}

Exception handling

Error messages have the following format:

{"error":"Region or language not found"}

Author

This project is initiated and maintained by @thomweerd.

Credit

This massive collection of names wouldn't have been as complete without the help of these wonderful people. Thanks for all the contributions and the continued support!

Special thanks to Claudio Albertin for his work on the API.

License

Parts of this repository are licensed. Except where otherwise stated, any code not covered by this license is published under exclusive copyright. See LICENSE.md to learn more.

uinames's People

Contributors

abdennour avatar ameensom avatar claudioalbertin avatar edsadr avatar erikreagan avatar gabrielizalo avatar gfnool avatar jaimerodas avatar jmblog avatar juree avatar mhm5000 avatar peterhupuczi avatar rlpereira avatar rustamli avatar sebastianlay avatar seyekuyinu avatar shafir avatar softwaretailoring avatar sskrebkov avatar stan347 avatar stommepoes avatar thmsvhwgr avatar tjotala avatar totocaster avatar tranlamnhatnam avatar vasilslavchev avatar vedranar avatar vedranio avatar yosefw avatar zhaofengli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uinames's Issues

Phone numbers in US format

The uinames.com site and extended usage API returns mock phone numbers in the US format (implied country code "+1"). This would be incorrect for any other country. I suggest one of two possible solutions:

  1. Return phone numbers formatted appropriately for each country.
  2. Return phone numbers as separate components (country code, area code, phone number) and leave the formatting to the user.

In either case, names.json would need to be extended to include the country code and plausible area codes for each region.

Add this name

Add

{
"name":"Ezequiel",
"surname":"Calonge",
"gender":"male",
"country":"Argentina"
}

Some Accessibility Issues

I'm planning a PR for most of these, but figured it's good to have a clear list of issues for it anyway.
I'm referencing the WCAG for most of these, since it's a W3C standard and something most countries use as the basis of their laws (if they have any) regarding accessibility.

  1. We're missing WCAG Guideline 3.1.1 by not allowing the website language to be programmatically determined... meaning we just need a lang attribute on the HTML tag. The website is in English. Additionally it might be cool to have appropriate lang tags on the h1 as non-English names are displayed (for correct pronunciation by speech synthesis) but that would be an extra, I feel.
    I like Roselli's page on all the why's for all the reasons a simple lang attribute is awesome.

  2. We're really missing WCAG Guideline 2.1.
    I initially ran across this useful little tool from a Tweet. I am sighted. The first thing I saw was commands to use the keyboard, which I thought was awesome! Then I realised I couldn't use any of the buttons to do anything, leaving me stuck with US names of both genders, one at a time. Nothing on the page really works with keyboard except the main script listening for the spacebar, c, and ctrl+c.

    Now it turns out, there are a set of nonstandard (but probably very useful for repeat users) keyboard shortcuts. However, if you are a keyboard-only user (rather than a mouse-using but keyboard-preferring power user), you won't know these shortcuts exist, because you need the keyboard to be able to click the info button to be able to read about the shortcuts in the first place.

    The current shortcuts are number-based, meaning they have are unlikely to conflict with most assistive tech key commands, which is good. The one I did run into was hitting 1 to reach the first-level heading (<h1>), but since there aren't any other headings on the page currently, this one didn't seem too bad to me. A regular AT user might disagree with me, in which case I'd suggest changing the 1 to some other number.

2.a Also, while focus isn't actually prevented from landing on the buttons, we aren't moving in the visual order which most people would expect, and even if we were, we can't see it.

That second link also points to the opposite problem: because the "popups" are hidden by being pulled offscreen or having an opacity of 0, they're still (invisibly) tabbable. So if my only recourse to navigating the page is to see what URL appears in my browser's lower-lefthand side, I see a whole lot of github URLs and other crazy stuff, with no idea what those are or mean. Things we're keeping hidden visually should also not be tabbable with keyboard.

Keyboard operation is also lost with the Region selector. Only the list items can be clicked, and since they're not focusable things, they can't be clicked with keyboard. Avoiding the autocomplete functionality entirely, one could just type in the full name of a region... but again only clicking on an available region from the list below is the only way to select it. Hitting enter does nothing, nor is there a dedicated "submit" button or similar.

Unfortunately, the semantics are poor (the links should really be buttons). However, while playing around with the problem, I found I couldn't really improve this as much as I wanted.

Buttons make the most sense for what the round circles near the top of the page do, but because the main idea of the page is the pressing of spacebar to do the site's main function, letting buttons be buttons on this page would result in undesired behaviour most of the time. Buttons listen for both enter and spacebar to trigger a click. My future-PR has a compromise which probably nobody in the accessibility world would like, but this is open source...

Since the title attribute isn't really good for naming things, but is still useful for letting sighted mouse users know what the buttons do, in my future-PR I left the titles in but substituted hidden text, aria-labels, and CSS "content" for improving some of the other use cases of naming things.
I used the CSS content property making button names visible on focus for keyboarders. If using speech to control your computer, you'd still be stuck with something like "Press Tab" at least the first time to go through the buttons, but perhaps after seeing the names once you could call them out directly by name instead.

2.b Even when sighted, "standard" keyboard use is accounted for, there's still a strange sequence issue as far as where the buttons visually are and where the name is. I figured there was some good reason for placing all the buttons and controls and things after the main name so in my future-PR I've only rearranged the button order a bit, but kept the name first.

\3. The initial command "Press Spacebar" and the accessory texts that appear under it have waaaay insufficient contrast. It's actually also still too low even when the text turns completely white. #39844d would be sufficient for the smaller text (you can get away with a lot more for the larger text). Also, Lea's tool is really handy :)
However I don't feel PRs that really change how someone else's thing looks get accepted much, so I did not include any contrast or colour changes. Certainly the green I found which has sufficient contrast with white isn't the same frog green as the site currently has. Maybe the text colour would be better adjusted instead. Even if my PR gets accepted, this "insufficient contrast" will remain an open issue.

Country validation error

Hello

The API fails when querying for a country that is not in the database, fixed in this PR: #61 ..

But I think it goes beyond that, the language functionality does not exist at the moment, not sure if it should be kept in the current code...

Add Madagascar

Lastname :

Andria
Rakoto
Rabary
Rabe
Ravao
Ravelo
Ravo
Raza
Rasa

Firstname :

Aiko
Aiky
Aina
Ainga
Aingo
Aintsoa
Ajo
Alidera
Alindranto
Aliotsy
Alisoa
Ambina
Ambinina
Ambinintsoa
Amboara
Ampela
Ampinga
Ampy
Anay
Andiana
Andimalala
Ando
Andoniaina
Andotiana
Andraina
Andriamampianina
Andriambato
Andriamifidy
Andriamihaja
Andriananja
Andrianilana
Andrianina
Andrianivo
Andrianjaka
Andriantafika
Andriantsoa
Andriarisoa
Andrinay
Andriniaina
Andry
Andy
Angola
Angy
Anja
Anjara
Anjarafitia
Anjaramendrika
Anjaranirina
Anjarasoa
Anjatiana
Anjavidy
Anoka
Anta
Antenaina
Antra
Antsa
Antsanala
Antsiva
Antso
Any
Arena
Arianala
Arifanja
Arimasy
Arindranto
Arinialy
Arinjara
Arinoa
Arivelo
Arivola
Aro
Aroniaina
Ary
Asandratra
Asara
Asy
Avana
Avisoa
Avo
Avonoro
Avotiana
Avotra
Avovo

Babakely
Baholy
Bako
Bakohery
Bakoly
Bakonirina
Baliaka
Balita
Bango
Bao
Baofara
Baovola
Barijaona
Barilala
Bary
Batseba
Bazoly
Beandaza
Bebisoa
Beby
Bekoto
Bema
Benalisoa
Bendriana
Beniaina
Benja
Benjanirina
Bodoarimanga
Baobilahibihy
Bina
Biteny
Bodo
Bodohary
Bodohasina
Bodomalala
Bokonisy
Bora

Dadavy
Dafy
Dama
Dany
Dera
Dialy
Diamondra
Diary
Diavolana
Diera
Dimbinandrianina
Dimbinirina
Dimbisoa
Dimby
Dina
Dinasoa
Ditra
Doda
Domoina
Donga
Doria

Eja
Ekena
Elabakana
Elamanjaka
Elintsoa
Elisoa
Elitiana
Embona
Entso
Eraniaina
Eva

Fahafahana
Fahasambarana
Faliarivo
Falihery
Falimampionona
Falinirina
Falisoa
Faly
Famenontsoa
Fanaiky
Fanaina
Fanaja
Fanambinantsoa
Fanantenana
Fanantenanirainy
Fanaperana
Fanasina
Fandresena
Faneva
Fanihy
Fanilo
Fanilonay
Fanirina
Fanirintsoa
Fanirisoa
Faniry
Fanja
Fanjaniaina
Fanjatiana
Fano
Fanoela
Fanomezana
Fanomezantsoa
Fanorenana
Fanova
Fara
Faramalalako
Faranirina
Farasoa
Faratiana
Fatratra
Fehinjo
Fehizoro
Felamanitra
Felana
Felantsoa
Feno
Fenodera
Fenoery
Fenohanitra
Fenohasina
Fenohery
Fenomanantsoa
Fenosoa
Fenotiana
Fetinaty
Fetra
Fetraniaina
Fety
Fiadanantsoa
Fialy
Fiambe
Fiandry
Fiaro
Fiary
Fiderana
Fidihasina
Fidimalala
Fidinirina
Fidisoa
Fidy
Fifaliana
Fiharo
Fikasana
Filamatra
Finaritra
Finiavana
Finidy
Finihavana
Finoana
Firary
Fitahiana
Fitahina
Fitahintsoa
Fitia
Fitiavana
Fitiana
Fitiantsoa
Fototsoa
Fy

Gaga
Gasy
Gia
Gina

Haba
Hafaliana
Haga
Hagasoa
Haina
Haingo
Haingolalaina
Haingolalao
Haingoniaina
Haingotiana
Haino
Haja
Hajanirina
Hajarivelo
Hajasoa
Hajatahiana
Hajatiana
Halimanana
Hando
Hanintsoa
Hanitra
Hanitriniaina
Hanitriniala
Hanja
Hanta
Hantamalala
Hantaniaina
Hantanirina
Hantsa
Hantasoa
Harena
Harenamamy
Harenasoa
Harentsoa
Hariandra
Hariela
Harifara
Harifera
Harifidy
Harijaona
Harijao
Harilala
Harilandy
Harilanto
Harilila
Hariliva
Harimanitra
Harimbola
Harimisa
Harinaivo
Harinala
Harinandrianina
Harinavo
Harindra
Harindranto
Hariniaina
Hariniela
Harinirina
Harinisa
Harinivo
Harinoa
Harinony
Harinosy
Harintsoa
Harisoa
Haritiana
Harivelo
Harivola
Harivololona
Harivonjy
Harivony
Harizo
Hary
Hasimboahirana
Hasimbola
Hasina
Hasinandrianina
Hasindrazana
Hasiniaina
Hasiniony
Hasintsifa
Hasintsoa
Hasitiana
Hejo
Helisoa
Hendriniaina
Hendry
Henika
Henikaja
Henintsoa
Henisoa
Henitsoa
Heraina
Herihajaina
Herilala
Herilalaina
Herilaza
Herimalala
Herimamy
Herimena
Herinambinina
Herinandriana
Herinantenaina
Herinarivo
Heriniaina
Heriniony
Herinirina
Herinjaka
Herintsitohaina
Herintsoa
Herisetra
Herisoa
Herisolo
Heritiana
Heritoavina
Heritsitohaina
Heritsoa
Herivelo
Herivola
Herizo
Hery
Hetiarivony
Hiangotiana
Hiarivelo
Hirantsoa
Hirasoa
Hobialy
Hobiana
Hobiniaina
Hobinjanahary
Hobisoa
Hoby
Hoelatiana
Hova
Hovanirina
Holifanja
Holisoa
Holitiana
Holy
Honty

Ialintsoa
Ialivelo
Ialy
Iandry
Iangola
Iangolatiana
Iangotiana
Iangy
Ianja
Iarantsoa
Iarinirina
Iarinony
Iarintsoa
Iarivo
Iarivolana
Iarivolaniaina
Iarivosahala
Iavo
Iavotiana
Ibonia
Ifaliana
Ihaja
Ihandry
Ihantana
Iharantsoa
Ihary
Ihasinanjaka
Ihasinjaka
Iholy
Ikala
Ikandrina
Ikotoroa
Ikotokely
Ilaidama
Ilo
Imahery
Imaso
Imasy
Imboasalama
Imboasoa
Ingahimatoabe
Ioly
Iombonantsoa
Iony
Iraina
Iriana
Irianja
Iriela
Itokiana
Ivo

Josia
Jao
Jaojoby
Jaona
Jaonary
Jaonasy
Jaosolo
Jaotiana
Jaozandry
Jary
Jedy
Jery
Jihy
Johary
Joda
Joharinaly
Johary
Jonihary
Joro

Kajy
Kalasy
Kaliana
Kalo
Kaloina
Kaloy
Kanto
Kemba
Ketaka
Ketrika
Kiady
Kintana
Kolo
Koloina
Koly
Koriana
Koto
Kony
Kerty

Lahatra
Lahisoa
Laidama
Laingo
Lala
Lalaina
Lalainasoa
Lalandy
Lalanirina
Lalao
Lalaonirina
Lalatiana
Laly
Landivola
Landy
Lanja
Lanto
Lantoharifetra
Lantoharisoa
Lantoniaina
Lantonirina
Lantosoa
Lavorary
Laza
Lazamaniraka
Lebody
Lefa
Lemazava
Lezo
Liana
Lianala
Liantsoa
Lisy
Lita
Liva
Lofo
Loharano
Lova
Lovanandrianina
Lovanirina
Lovasoa
Lovatiana

Maeva
Maevasoa
Magneva
Mahaleo
Mahaliana
Mahandry
Mahanina
Maharavo
Maharo
Mahary
Mahasetra
Mahatana
Mahatia
Mahatsangy
Mahavita
Mahazina
Mahefa
Mahefasoa
Mahefarifetr
Maheriniaina
Maherisoa
Mahery
Mahiantsoa
Mahitsy
Maholy
Mahony
Malala
Malalasoa
Malalatiana
Malanto
Mamihaja
Mamihajasoa
Mamihasina
Mamihery
Mamilaza
Maminiaiko
Maminiaina
Maminirina
Maminjaka
Maminosoa
Mamiratra
Marina
Mamisoa
Mamitiana
Mamonjisoa
Mamonjy
Mampianina
Mampionona
Mamy
Manalina
Manalintsoa
Manambina
Manampisoa
Mananjara
Manantsoa
Manarivo
Manda
Mandamina
Mandranto
Mandresy
Mandrindra
Maneva
Manevasoa
Manganirina
Mangatiana
Manitra
Manitriniaina
Manitriniala
Manitsoa
Manja
Manjaka
Manoa
Manohiaina
Manohisoa
Manosoa
Manovontsoa
Manovosoa
Marina
Maro
Masindray
Masoandro
Matsilo
Mavo
Mbato
Mbelo
Mbinina
Mboahangy
Mboara
Mboarasoa
Mbola
Mbolanirina
Mbolasoa
Mbolatiana
Mendrika
Mendrikay
Mendrintsoa
Menja
Mety
Meva
Mevasoa
Miadana
Miadantsoa
Miady
Miahy
Miaina
Mialitiana
Mialo
Mialy
Miando
Miandra
Miandrasoa
Miandrisoa
Miandry
Miangaly
Miangola
Miangoty
Miangy
Mianja
Mianoka
Miantsa
Miaramanana
Miarana
Miarantsoa
Miarintsoa
Miarisoa
Miaritiana
Miarivola
Miaro
Miary
Miasy
Michela
Mihaja
Mihamina
Mihanta
Mihantasoa
Miarihasina
Miharinjato
Miharivelo
Miharizo
Mihary
Mihasoa
Mihatia
Mihobisoa
Mihoby
Mija
Mijoro
Mika
Milamina
Milanto
Mino
Minoarisoa
Minosoa
Miora
Miorika
Miotisoa
Mioty
Mira
Mirado
Mirana
Miranto
Mirantsoa
Mirasoa
Mirija
Mirindra
Misa
Misaina
Misandratra
Misetra
Mitia
Mitiasoa
Mitsiky
Miza
Monja
Monjy
Moramanana
Mpanjato
Mparany

Nafeno
Naina
Naivo
Naivosoa
Nahary
Najaina
Naka
Nalilala
Naliniriana
Nalisoa
Naly
Nambinina
Nampiana
Nampiona
Nampoina
Nandivola
Nandrasana
Nandriana
Nandrianina
Nanja
Nanta
Nantenaina
Narindra
Narindrasoa
Narisoa
Narivo
Narivony
Nary
Nasaina
Nasandratra
Nasolo
Natanaela
Navalona
Ndiasana
Ndimbisoa
Ndimby
Ndranto
Ndrema
Ndretsa
Ndriana
Ndrianja
Ndroso
Nekena
Niaina
Niary
Nija
Niniana
Niriantsa
Nirina
Nirintsoa
Nirisoa
Niry
Nisa
Nisainana
Nivo
Nivohanta
Nivomboahangy
Nivonjanahary
Nivosoa
Nizaka
Njaka
Njakaniaina
Njakasoa
Njakatiana
Njara
Njaramalala
Njarasoa
Njaratiana
Njato
Njava
Njila
Njiva
Njivatiana
Nofy
Nohary
Nombana
Nomen'iavo
Nomeny
Nomena
Nomenaniaina
Nomenjanahary
Noro
Noroanja
Norosoa
Norotiana
Nosy
Notiavina
Ntsoa
Ny antsa
Ny antsiva
Ny anjarasoa
Ny hasina
Ny hira
Ny iangotiana
Ny ony
Ny tony

Oelisoa
Oliseheno
Olinirina
Oly
Ombana
Onasoa
Onimamy
Onimilanto
Onintsoa
Onisoa
Onitiana
Onja
Onjalalaina
Ony
Orimbato

Patsy
Pelake
Pendo
Peta
Petrabolana

Rabozaka
Rado
Radonandrasana
Radonirina
Radoniaina
Radosoa
Raitra
Raivo
Raivosoa
Rajaona
Rajery
Rajo
Ralay
Ranja
Ranjalahy
Ranjatiana
Ranjatohery
Ranoro
Ranto
Raomy
Raony
Rary
Raseta
Ravaka
Ravotany
Razay
Redy
Rehareha
Rejo
Remenabila
Reniala
Renjy
Retovognae
Riaka
Rialy
Riana
Rianala
Riantsoa
Rify
Rija
Rima
Rina
Rinantsoa
Rindra
Rindja
Rindraniaina
Rindranirina
Rindratiana
Ririva
Rivo
Rivohery
Rivolala
Rivonala
Rivoniaina
Rivonirina
Rivosoa
Robo
Roby
Rohintsoa
Rohy
Rojo
Rondro
Rondronirina Herivelona
Rotsy
Rova
Rovalala
Rovasoa
Ryanto

Safidiko
Safidy
Sahala
Sahaza
Sahitia
Sahitsy
Sahoby
Saholy
Sahondra
Salala
Salohy
Sambatra
Sanda
Sandratra
Sandy
Sanjy
Santatra
Santiona
Saotra
Saovololona
Saranto
Sariaka
Sarika
Sarindra
Sarobidy
Sata
Sedera
Sedra
Seheno
Sendra
Seta
Setra
Silo
Sinasoa
Sitraka
Soa
Soafinaritra
Soafaniry
Soafara
Soamiangaly
Soamiely
Soanala
Soananahary
Soanavalona
Soandriaka
Soaniriko
Soanja
Soarimanga
Soary
Soatia
Soatina
Soamazava
Soja
Solo
Solofo
Solofoarivelo
Solofohery
Solohery
Solonomenjanahary
Solotiana
Soly
Sonia

Tafika
Tafita
Tafitasoa
Tahadray
Tahina
Tahiry
Takalo
Tambatra
Tambinirina
Tamby
Tamisoa
Tanjona
Tantely
Tanteraka
Taramasoandro
Taratra
Tarika
Tatamo
Tefiniaina
Tefy
Telina
Tendry
Tenompitia
Teza
Tiafina
Tiaina
Tiana
Tianamalala
Tiary
Tiavina
Tina
Tinasoa
Tinda
Toandro
Toavina
Todisoa
Todizara
Tody
Tojo
Tojohafaliana
Tojohery
Tojolafatra
Tojomanana
Tojoniaina
Tojonirina
Tojosoa
Tokiharimanitra
Tokiniaina
Toky
Tolojanahary
Tolojaona
Tolotra
Tolotriniavo
Tomefisoa
Tompoina
Tongasoa
Tonihasina
Tony
Tosy
Tovo
Tovohery
Tovojanahary
Tovojay
Trema
Trimo
Tsaina
Tsakoraiky
Tsalama
Tsangy
Tsanta
Tsaraleha
Tsaramandresy
Tsarasata
Tsaratamb
Tsarona
Tsiafoy
Tsialainkery
Tsiaro
Tsidy
Tsiferana
Tsifoina
Tsihoarana
Tsiky
Tsilavina
Tsilavo
Tsilavohery
Tsima
Tsimba
Tsimiamboho
Tsingory
Tsioritsoa
Tsiory
Tsirava
Tsiresy
Tsiriarivelo
Tsirihanitra
Tsiriry
Tsiry
Tsitoaniaina
Tsitohae
Tsitohaina
Tsitohatsy
Tsizaraina
Tsirota
Tsoa

Vahambola
Vahatra
Vahinala
Vahisoa
Vaingoka
Vakoka
Valiha
Valimpitia
Valintiana
Valisoa
Vania
Vaniala
Vaninala
Vanona
Vanondahy
Vanontiana
Vaonala
Vaosoa
Vaosolo
Vatosoa
Vatra
Vatsy
Vazo
Vero
Verohanta
Veromanitra
Verotiana
Vimbina
Vina
Vivato
Vivy
Voahangy
Voahary
Voahirana
Voara
Voatsasie
Voatse
Vokatra
Vola
Volamasoandro
Volamena
Volana
Volantsoa
Volarivony
Volasoa
Volatiana
Volatsara
Vololona
Vonifanja
Vonihanitra
Vonimanitra
Vonimbola
Voninahitra
Vonisa
Vonjy
Vony

Zafilahy
Zafimaharavo
Zafitsiory
Zaimalala
Zaka
Zakaina
Zakara
Zanoariso
Zaraniaina
Zarapitiavana
Zara
Zarasoa
Zaratiana
Zarisoa
Zava
Zina
Zinaha
Ziona
Zivasoa
Zo
Zoelisoa
Zoely
Zohery
Zoly
Zonahery
Zoniaina
Zoto

Unhandled cors random behavior

Sometimes http request get status failed. Then I change to https
captura

As above, now https request get status failed. Then I change to http
captura_1

I tested setting url radomly in request as follow

let urls = [
    "http://uinames.com/api/?",
    "https://uinames.com/api/?"
];
let url = urls[Math.floor(Math.random() * urls.length)];
if (cantidad !== '') {
    url += `amount=${cantidad}&`;
}

Getting
captura_2

Irish names

This would be great. Is it just that names need to be added to the JSON?

ERROR 508 RESOURCE LIMIT REACHED

I seem to have enjoyed using uinames until now. It seems that this API is unreliable as it crashes sometimes.

I see this error when using this at irregular intervals.

Screenshot from 2019-04-25 13-19-45

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

license

It is really unclear to understand if the images are free to use or there is copyright or attribution required.

Please add the license in the website as well as a proper MIT license in Github so people understand they can use the images for free (if that is the intension)

Feature request: Random male & female

I would love it if there was a random mode for male & female names, in addition to the male/female selector in the upper left.

Wonderful product, BTW.

Fix Russian names

Russian names are difficult with a lot of gender based exceptions... needs fixing...

Error from countries like Argentina and Spain

Hi , I am having issue when retriving the name from a call when the country its Argentina or Spain because the name is empty and the surename has both strings.

I fix it when retriving the code , I ask if name != null then I use it , if not bring me the next one .

Also I having some issue when retriving names from countries like Serbia , Albania , Russia ,where the characters are diferent from thoose I use comonly . I will be cool if you can a add a parameters when calling that choose in witch language or charaters you want the result.

Thanks a lot !

Name order

On http://uinames.com/, every names are shown as name - surname but in many countries name order is surname - name.

http://en.wikipedia.org/wiki/Personal_name#Name_order

My suggestion is to add an order field to names.json like this:

[
  {
    "country": "Country",
    "male": ["Male", "First", "Names"],
    "female": ["Female", "First", "Names"],
    "surnames": ["Last", "Names"],
    "order": "Western"
  },
  {etc}
]

What do you think?

Birthdate not available in YMD format

The uinames.com site and extended usage API return birthdates pre-formatted as DMY and MDY, and raw date (POSIX). The YMD format common in Far East Asia (Japan, China, etc.) and ISO 8601 is not returned though of course could be generated from the raw date.

I suggest returning the birthdate only as a raw POSIX date and leaving the formatting to the user, or adding YMD format as well for consistency. Or perhaps return POSIX date plus ISO 8601 date string?

Mixed Indian Names

Report: https://twitter.com/naveed3/status/775236413675540480

The entry for Indian names are mixed Hindu and Muslim names, leading to less than ideal combinations. These two categories need to be split somehow in the JSON so that they're combined properly. Below is the current entry for India.

"region":"India",
"male":["Aarav","Aaryan","Abhinav","Aditya","Ajay","Amit","Arjun","Arnav","Ayaan","Chirag","Devansh","Dhruv","Hemant","Ishan","Muhammad","Pranav","Rajesh","Rakesh","Reyansh","Sai","Shaurya","Shreyas","Tejas","Vibhore","Vihaan","Vishal","Vivaan"],
"female":["Aadhya","Aanya","Aaradhya","Ananya","Angel","Anika","Ankita","Aradhya","Charvi","Cheshta","Diya","Divya","Hansika","Harini","Navya","Pari","Paridhi","Ridhi","Rishika","Saanvi","Sanvi","Shreya","Surabhi","Trisha","Trishla"],
"surnames":["Balasubramanium","Banerjee","Bhatnagar","Bose","Chatterjee","Chattopadhyay","Chauhan","Chavan","Chopra","Das","Dasgupta","Dutta","Gavde","Gupta","Jain","Jaiteley","Jayaraman","Jhadav","Jindal","Kadam","Kapoor","Kapur","Khan","Lobo","Malhotra","Malik","Mehra","Mehta","Mistry","Mittal","Mukopadhyay","Nair","Patel","Patil","Pawar","Pillai","Powar","Rangan","Rangarajan","Rao","Rodrigues","Rathore","Sarin","Saxena","Sen","Sengupta","Shah","Sharma","Singh","Singhal","Subramanium","Tata","Tambe","Trivedi","Venkatesan","Verma","Vyas","Yadav"]

Name/Surname reversed for Japan

This api is returning personal names like 'Daisuke' as surname and family names like 'Goto' as name. I suspect this has something to do with the fact that Japanese place the family name before the given name and probably other countries that do the same will have the same problem.

Jobs, companies, and adresses

Hey,

I love uinames, would it be possible to add (same as names for example) jobs, companies (fake ones) and adresses ? It would be so cool 👍

what is your opinion on that ?

Alternative to uifaces.com

It seems Caleb Ogden has stopped supporting uifaces.com and the rights for the photos on there are questionable, as he has received requests from the face owners to be removed from his site since they didn't expect their faces to be used for whatever purposes. The selection on this site is also very limited when it comes to diversity (especially gender diversity).

DiverseUI.com and Random User Generator might be good alternatives, though the latter seems to have overlapping intent with UINames.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.