The Name Game (a curious API)

Feel free to talk about non programming issues here.
Post Reply
User avatar
stevedee
Posts: 518
Joined: Monday 20th March 2017 6:06pm

The Name Game (a curious API)

Post by stevedee »

Every once in a while I find myself scanning a list of public APIs to see if there is anything I can make use of. I recently came across a group of Profiling APIs which I guess are aimed at marketeers.

For example, using Agify like this (just paste into your browser):-

Code: Select all

https://api.agify.io/?name=stephen
predicts my age as 57 years old (I'm flattered!). But if I change the spelling, I get different estimates; steven (48) and, rather surprisingly, steve (69).

It seems to me that if you get stir-crazy during the Christmas lock-down, you could make a family guessing game with just a few lines of Gambas code, packed with a huge array of names, automatically picked at random.

The other APIs in this little group are:-

Code: Select all

https://api.genderize.io/?name=charlie
and;

Code: Select all

https://api.nationalize.io/?name=jornmo
And here is an API list; https://github.com/public-apis/public-apis

Wishing you all a Merry Christmas!
Post Reply