Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1026513 // exchangeRatesAgainstEuro_fresh

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3809L/25K).

static Map<S, Double> exchangeRatesAgainstEuro_fresh() {
  S json = loadPage("https://api.exchangeratesapi.io/latest");
  Map map = jsonDecodeMap(json);
  saveTextFile(exchangeRatesAgainstEuro_cacheFile(), json);
  ret (Map) map.get("rates");
}

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: 206 / 302
Version history: 2 change(s)
Referenced in: [show references]