Skip to content

Instantly share code, notes, and snippets.

@sandeepm96

sandeepm96/rest_client.py

Last active Jun 8, 2017
Embed
What would you like to do?
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