requests

” Requests is an elegant and simple HTTP library for Python, built for human beings. “

import requests

r = requests.get(‘https://api.github.com/events’)

+ Built in JSON decoder

>>>r = requests.get('https://api.github.com/events')
>>>r.json()

+ Custom Headers