The Name Game (a curious API)

Post

Posted
Rating:
#1 (In Topic #524)
Avatar
Regular
stevedee is in the usergroup ‘Regular’
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

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

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

and;

Code

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!
Online now: No Back to the top
1 guest and 0 members have just viewed this.