Skip to content

Instantly share code, notes, and snippets.

@rchasman
Created April 15, 2014 00:48
Show Gist options
  • Save rchasman/10693141 to your computer and use it in GitHub Desktop.
Save rchasman/10693141 to your computer and use it in GitHub Desktop.
Code to pass the RainforestQA application challenge.
import requests
import urlparse
def getid(id):
url = "http://letsrevolutionizetesting.com/challenge.json?"
r = requests.get(url + id)
return urlparse.urlsplit(r.json()['follow'])[3]
seed = ""
while True:
seed = getid(seed)
print seed
@rchasman
Copy link
Author


Hacked this up really quickly just to apply.
To whomever at Rainforest made this job application process:
Thanks, it was FUN :)


@fredsterss
Copy link

@rchasman my pleasure 😄 can you make this private though? ppl are cheating 👎 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment