Parse JSON response using requests library in Python

Parse JSON response using requests library in Python

import requests
res = requests.get('http://httpbin.org/get')
res
json = res.json()
json

#output
{'args': {},
 'headers': {'Accept': '*/*',
  'Accept-Encoding': 'gzip, deflate',
  'Host': 'httpbin.org',
  'User-Agent': 'python-requests/2.23.0',
  'X-Amzn-Trace-Id': 'Root=1-627748f9-21e8a32a34aaf53a6fb91ade'},
 'origin': '34.73.60.93',
 'url': 'http://httpbin.org/get'}