I'm Brett Slatkin and this is where I write about programming and related topics. You can contact me here or view my projects.

24 November 2013

If you're going to have a HATEOAS game as your job application form, it should be harder than this:

next = 'http://letsrevolutionizetesting.com/challenge'
while True:
...   r = requests.get(next, headers={'Accept': 'application/json'})
...   print next, r.json()
...   next = r.json()['follow']

I don't care to belong to any club that will have me as a member.
© 2009-2024 Brett Slatkin