Authentication
Header Name
Value
curl -H "X-Api-Key: YOUR_API_KEY" -H "X-Api-Secret: YOUR_API_SECRET" https://api.tyrads.comimport requests
# Create headers with the API key and secret
headers = {
'X-Api-Key': 'YOUR_API_KEY',
'X-Api-Secret': 'YOUR_API_SECRET', # You can add other headers as needed
}
# Set API URL
url = 'https://api.tyrads.com/'
# Make the API request with the headers
response = requests.get(url, headers=headers)Last updated