V
V
Vladimir Litvinov2017-11-24 01:20:18
API
Vladimir Litvinov, 2017-11-24 01:20:18

From which site can I display the buying / selling rate of the dollar and the euro?

From which site can I display the dollar and euro buying/selling rate, receiving information via api or from xml?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Litvinov, 2017-11-30
@DesignDiversion

The issue is resolved, we found the Sberbank API)

T
time_is_always_against_us, 2017-11-24
@time_is_always_against_us

From the Central Bank of the Russian Federation. For example:

$xml=file_get_contents('http://www.cbr.ru/scripts/XML_daily.asp');
xml_parse_into_struct(xml_parser_create(), $xml, $result);

echo 'USD: '.$result['140']['value'].'<br>';
echo 'EURO: '.$result['153']['value'].'<br>';

PS In a hurry...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question