Created
August 4, 2014 19:33
-
-
Save nlashinsky/bbd975df736322c61f01 to your computer and use it in GitHub Desktop.
JSON challenge
This file contains hidden or 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
| import json, requests | |
| url = 'http://letsrevolutionizetesting.com/challenge' | |
| while url: | |
| res = json.loads(requests.get(url, headers={"Accept": 'application/json'}).content) | |
| print res | |
| url = res.get('follow') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment