python 3 get requests from 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)