klodska

БеларусБанк в ПокетКод список

Aug 29th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | Source Code | 0 0
  1. <?php
  2.     $city = $_GET["city"];
  3.     $info = json_decode(file_get_contents("https://belarusbank.by/api/kursExchange?city=" . urlencode($city)), true);
  4.     echo $info[0]["USD_in"] . "," . $info[0]["USD_out"] . "," . $info[0]["EUR_in"] . "," . $info[0]["EUR_out"] . "," . $info[0]["RUB_in"] . "," . $info[0]["RUB_out"]
  5. ?>
Tags: php
Advertisement
Add Comment
Please, Sign In to add comment