Skip to content

Instantly share code, notes, and snippets.

@brianlechthaler
Created October 21, 2015 17:01
Show Gist options
  • Save brianlechthaler/5008e439dc5f022e3bbd to your computer and use it in GitHub Desktop.
Save brianlechthaler/5008e439dc5f022e3bbd to your computer and use it in GitHub Desktop.
Name Generator
echo First word, Adjective:
curl -s "http://api.wordnik.com:80/v4/words.json/randomWord?hasDictionaryDef=false&includePartOfSpeech=adjective&minCorpusCount=0&maxCorpusCount=-1&minDictionaryCount=1&maxDictionaryCount=-1&minLength=5&maxLength=-1&api_key=YOUR_API_KEY_HERE"
echo
echo
echo Second word, Noun:
curl "http://api.wordnik.com:80/v4/words.json/randomWord?hasDictionaryDef=false&includePartOfSpeech=noun&minCorpusCount=0&maxCorpusCount=-1&minDictionaryCount=1&maxDictionaryCount=-1&minLength=5&maxLength=-1&api_key=YOUR_API_KEY_HERE"
echo
echo
echo Now, combine these two, and you have your name.
echo For example, if your two words were ‘taught’ and ‘webzines’, your name would be TaughtWebzines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment