get requests from python 3 code example
Example: get requests from python
import requests
response = requests.get('<api-endpoint>')
response.raise_for_status()
data = response.json()
print(data)
import requests
response = requests.get('<api-endpoint>')
response.raise_for_status()
data = response.json()
print(data)