sebasjimenez10/bloomberg_currency

New response from 20 Jul 2023

Opened this issue · 0 comments

My solution is splitting response by string "quote":, parsing as json the rest until "id": and finally getting the "price":.

"quote":{"isAfterHours":null,"isOpen":null,"lastUpdate":"2023-08-07T06:36:25.000Z","exchangeDelay":null,"isExchangeDelayed":false,"price":"40.4134","percentChange1Day":-0.5679000020027161,"priceChange1Day":-0.2308,"name":"EUR-UAH X-RATE","primaryExchange":null,"type":"CUR","mediaSecurityType":"Currency","mediaSecuritySubtype":"Cross","securityName":"EURO/UKRAINE HRYVNIA","longName":"EURUAH Spot Exchange Rate - Price of 1 EUR in UAH","shortName":"EUR-UAH X-RATE","id":"EURUAH:CUR"...