Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.321 kb
import requests
import secure as s
payload = {
'page': '1',
'pagesize': '2',
'order': 'asc',
'sort': 'activity',
'site': 'stackoverflow',
'key': s.key}
r = requests.get("https://api.stackexchange.com/2.1/questions",
params=payload)
print r.headers
print r.text
print r.json()
Jump to Line
Something went wrong with that request. Please try again.