Open vstavskyi opened 1 year ago
My solution is splitting response by string "quote":, parsing as json the rest until "id": and finally getting the "price":.
"quote":
"id":
"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"...
My solution is splitting response by string
"quote":
, parsing as json the rest until"id":
and finally getting the"price":
.