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