Libraryless. Click here for Pure Java version (3809L/25K).
1 | static Map<S, Double> exchangeRatesAgainstEuro_fresh() { |
2 | S json = loadPage("https://api.exchangeratesapi.io/latest"); |
3 | Map map = jsonDecodeMap(json); |
4 | saveTextFile(exchangeRatesAgainstEuro_cacheFile(), json); |
5 | ret (Map) map.get("rates"); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026513 |
Snippet name: | exchangeRatesAgainstEuro_fresh |
Eternal ID of this version: | #1026513/3 |
Text MD5: | 3deff674dd8266ed926375cfa0ffa7e1 |
Transpilation MD5: | 8cbe1cfb31dd2b557a8303e9548c86b5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-08 20:08:08 |
Source code size: | 249 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 306 |
Version history: | 2 change(s) |
Referenced in: | [show references] |