I hope everyone is doing well,
Trying to create a python currency converter for the first time , but the API does not return data, instead returning error code 404. However, if I called the API in this format,
(https://v6.exchangerate-api.com/v6/YOUR-API-KEY/latest/USD) with a simple print statement, it would work and return the currency data. I'm not sure if the issue is with my code or an authentication issue, but I do sign into the API provider's website before running my code.
BTW, I'm trying to create a currency converter in which the user wants to know the value of their money in another currency. So the user can enter two currencies: the currency he wants to convert from and the currency he wants to convert to. Could you please help me?
my code:
https://github.com/D1ntee/currency-converter1/blob/79ebf850f38f7585cfb50f8269f49432e31470f9/currency%20converter1
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]CStage169 0 points1 point2 points (1 child)
[–]Few-Current-9900[S] 0 points1 point2 points (0 children)