Доступ к методам ответа и атрибутам в Python

import requests
 
url = 'https://httpbin.org/get'
response = requests.get(url)
 
print(response.text) # access response data atributes and descriptors
print(response.json()) # access response methods
Outrageous Ostrich