Skip to content

Instantly share code, notes, and snippets.

@arnavs
Created July 16, 2017 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnavs/6906c11fd464204c43791ca122831916 to your computer and use it in GitHub Desktop.
Save arnavs/6906c11fd464204c43791ca122831916 to your computer and use it in GitHub Desktop.
Some code to handle the business side of your startup.
using Requests
using JSON
# Import API key.
include("apikey.jl")
response = get("https://wordsapiv1.p.mashape.com/words/?partOfSpeech=noun&random=true"; headers=Dict("X-Mashape-Key" => "$key"))
word = JSON.parse(readstring(response))["word"]
startup = rand(["Uber", "AirBnB", "Tinder", "Oracle"])
business = "$startup for $word"
println(business)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment