Skip to content

requests

(https://docs.python-requests.org/en/master/) is an elegant and simple HTTP library for Python, built for human beings.

Usage

Make a request

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