Created
June 9, 2018 19:44
-
-
Save czj/619e16d14a464562298e8686861e0624 to your computer and use it in GitHub Desktop.
Fake name generator (french/France)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "json" | |
1000.times do | |
json = `curl --silent --insecure "https://api.namefake.com/french-france/random/"` | |
data = JSON.parse(json) | |
puts data["name"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment