Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Last answered:

22 Oct 2023

Posted on:

28 Feb 2023

2

Fixing the change in api

The following code worked for me. Just get a free API key and replace the text below


import requests

url = "https://api.apilayer.com/exchangerates_data/latest?base=EUR"

payload = {}
headers= {
  "apikey": "PUT YOUR OWN API KEY BETWEEN QUOTATION MARKS"
}

response = requests.request("GET", url, headers=headers, data = payload)

1 answers ( 0 marked as helpful)
Posted on:

22 Oct 2023

0

Thanks for posting. Work well form me also

Submit an answer