import requests
api_url = 'https://api.api-ninjas.com/v1/historicalevents'
headers = {
'X-Api-Key': 'zd4vQLQ3nVfeG1W'
}
params = {
'text': 'russia',
'day': 1,
'month': 1
}
response = requests.get(api_url, headers=headers, params=params)
if response.status_code == 200:
print(response.json())
else:
print("Error:", response.status_code, response.text)