import requests
params = {
'apiKey': 'your_api_key',
'url': 'https://myexternalip.com/raw',
'location': 'Auto',
'js_enabled': 'Yes',
'antibot_level': 'undefined'
}
url = 'https://api.getodata.com/'
response = requests.get(url, params=params)
responseData = response.json()
print(responseData)
Send the request to get the response