Traumflug Posted June 15, 2018 Posted June 15, 2018 With Fixer.io changing their API and requesting custom keys, the idea came up to grab exchange rates directly from the European Central Bank (ECB). It turns out, the ECB actually encourages users and code writers to do this. See the code samples at the bottom of https://www.ecb.europa.eu/stats/policyandexchangerates/euroreferenceexchangerates/html/index.en.html One long night later, a thirty bees module has formed around this ECB service. Say hello to module ecbexchange / ECB Exchange Rate Services: 01529100100674ecbexchange-master.zip This module pretty much replaces the fixerio module. Same feature set, same faceless operations. Install ecbexchange, then go to back office -> Localization -> Currencies and hit the Update Currency Rates button. A second later, see your exchange rates renewed. Simple and effective, wonderful! Will put this module onto Github, make a tagged release and probably also part of the standard distribution before too long.
colorful-ant Posted June 15, 2018 Posted June 15, 2018 Thank you very much! Manually updating the currencies with this module worked. After the weekend, I hope it works just as well on the cron job.
Traumflug Posted June 16, 2018 Author Posted June 16, 2018 Will put this module onto Github, make a tagged release and probably also part of the standard distribution before too long. Here we go: https://github.com/thirtybees/ecbexchange/releases/tag/1.0.0 This release is identical to the ZIP I posted above, no need to upgrade from that.
Traumflug Posted June 17, 2018 Author Posted June 17, 2018 There's already a new release :-) Our automated regression testing, Travis CI, found an incompatibility with PHP 5.5. This got fixed with release 1.0.1: https://github.com/thirtybees/ecbexchange/releases/tag/1.0.1 No need to upgrade for those running PHP 5.6...7.1.
wakabayashi Posted June 18, 2018 Posted June 18, 2018 I just installed it. Seems to work perfectly fine! Thanks a lot!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now