Comment 2 for bug 2069302

Revision history for this message
Andrii Borenkov (gfreeman85) wrote : Re: [Bug 2069302] Re: Incorrect link in exchangerate.host API

Thank you, definitely seems like that. Would be grateful, if you can change
that in future release. I can test it if necessary

Andrii

сб, 15 черв. 2024 р., 11:15 користувач Maxime DOYEN <
<email address hidden>> пише:

> At the time I wrote the doc, this API WAS compatible.
> It seems they make changes breaking this, even the return is no more
> formatted like previously.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2069302
>
> Title:
> Incorrect link in exchangerate.host API
>
> Status in HomeBank:
> New
>
> Bug description:
> 1) Link in manual is: http://api.exchangerate.host/list (is just
> provide the list of quotes, not their values)
> Corret link should be: http://api.exchangerate.host/live
> 2) But then next values in the link are hardcoded (accoding to log):
>
> http://api.exchangerate.host/list?access_key=MYKEY&base=UAH&symbols=EUR,USD,PLN
> ,
> while "base" in the link shoud be "source" and "symbols" should be
> "currencies" (according to service syntax)
>
> With correct link
> http://api.exchangerate.host/live?access_key=MYKEY&source=UAH&currencies=EUR,PLN,USD
> I am getting correct values in browser
>
> success true
> terms "https://currencylayer.com/terms"
> privacy "https://currencylayer.com/privacy"
> timestamp 1718284623
> source "UAH"
> quotes
> UAHEUR 0.022742
> UAHPLN 0.098735
> UAHUSD 0.024545
>
> P.S. Unfortunately, it is the only service which can work with UAH as
> base currency, so if it is possible to change request link in
> application?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/homebank/+bug/2069302/+subscriptions
>
>