-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/convert issue #29
Comments
Works for me: ~ % curl "https://api.frankfurter.app/latest?amount=1000000&from=GBP&to=USD"
{"amount":1000000.0,"base":"GBP","date":"2022-03-04","rates":{"USD":1326528}}%
~ % You should quote your URL since there is a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi All,
I tested your application and found the following. If I call the url with CURL to convert:
curl https://api.frankfurter.app/latest?amount=1000000&from=GBP&to=USD
Then I get the following:
{"amount": 1000000.0, "base": "EUR", "date": "2022-02-21", "rates": {"AUD": 1575100, "BGN": 1955800, "BRL": 5804500, "CAD": 1445400, "CHF": 1038700, "CNY": 7183100, "CZK": 24345000, "DKK": 7439700, "GBP": 832980, "HKD": 8844300, "HRK": 7536000, "HUF ": 357540000," IDR ": 16276340000," ILS ": 3643300," INR ": 84677000," ISK ": 141400000," JPY ": 130200000," KRW ": 1353020000," MXN ": 22995100," MYR ": 4738700, "NOK": 10173800, "NZD": 1687000, "PHP": 58300000, "PLN": 4535100, "RON": 4944800, "RUB": 89086600, "SEK": 10653500, "SGD": 1526500, "THB": 36588000, "TRY": 15468900, "USD": 1133800, "ZAR": 17189500}}
Meanwhile, the conversion result:
GBP 10 = USD 13.6114
What's the problem? Can the base currency be set?
I thank you for your help!
Best regards,
Zsolt from Hungary
The text was updated successfully, but these errors were encountered: