Created
July 16, 2017 23:17
-
-
Save arnavs/6906c11fd464204c43791ca122831916 to your computer and use it in GitHub Desktop.
Some code to handle the business side of your startup.
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
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