# Python : Web : Requests \[ [pypi](https://pypi.org/project/requests/) | [src](https://github.com/psf/requests/) | [docs](https://requests.readthedocs.io/en/latest/) | [api](https://requests.readthedocs.io/en/latest/api/) ] ```python response = requests.get( "https://api.github.com/user", auth=( "user", "pass" ) ) response.status_code -> 200 response.headers[ "content-type" ] -> "application/json; charset=utf8" response.encoding -> "utf-8" response.text -> "{"type":"User"..." response.json() -> { "private_gists": 419, "total_private_repos": 77, ... } ```