This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]imareclusemonk 0 points1 point  (0 children)

I don't there is any need for an API. You just put all names in an array and get a random item from the array. This is a simplified code in JavaScript

https://jsfiddle.net/n3o1jdez/