Skip to content

Instantly share code, notes, and snippets.

View Gunio's full-sized avatar

gundotio Gunio

View GitHub Profile
@Gunio
Gunio / GET using Requests And Authentication
Created October 18, 2011 04:52
GET using Requests And Authentication
import requests
r = requests.get('https://api.github.com', auth=('YOURUSERNAME', 'PASSWORD'))
print r