Skip to content

Instantly share code, notes, and snippets.

@sandeepm96
Last active June 8, 2017 08:20
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 sandeepm96/6ff2206a36fe785946bf37ac9b2d6a84 to your computer and use it in GitHub Desktop.
Save sandeepm96/6ff2206a36fe785946bf37ac9b2d6a84 to your computer and use it in GitHub Desktop.
import requests
response = requests.get('https://api.github.com/users/sandeepm96/repos')
assert response.status_code == 200
for repo in response.json():
print repo['name']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment