This PR adds support for a new exchange provider: BCU (Banco Central del Uruguay). This provides the real, unaffected by rounding, interbank exchange rate.
Close #16.
Questions
If we wanted to use jq, that part of code could be replaced by
We'd have to add an error message for jq not installed, but it would also allow for easier error handling in case we don't find any rate in the past 7 days (BCU returns status code 0 in the RespuestaStatus field). What do you prefer?
Should I add BCU to all examples? I think trying to do so is a bit moot, as just an example with each provider should be enough to understand how to use it, but I leave the decision to you.
Summary
This PR adds support for a new exchange provider: BCU (Banco Central del Uruguay). This provides the real, unaffected by rounding, interbank exchange rate.
Close #16.
Questions
jq
, that part of code could be replaced byWe'd have to add an error message for
jq
not installed, but it would also allow for easier error handling in case we don't find any rate in the past 7 days (BCU returns status code 0 in theRespuestaStatus
field). What do you prefer?