nguyenanhung / utils-exchange-rates
Utils API: 获取汇率
This package is auto-updated.
Last update: 2024-09-22 14:27:16 UTC
README
Utils: 汇率
从一些银行的网站获取交易数据的函数
根据越南工商银行的报告提供的汇率
从越南工商银行网站提取数据的函数:https://portal.vietcombank.com.vn/Personal/TG/Pages/ty-gia.aspx
<?php require_once __DIR__ . '/vendor/autoload.php'; $vcb = new \nguyenanhung\Utils\ExchangeRates\Vietcombank(); // Parse dữ liệu từ API ngân hàng $parse = $vcb->parseDataExchangeRates(); // Hiển thị dữ liệu dạng JSON echo $parse->toJson(); // Hiển thị dữ liệu thô echo "<pre>"; print_r($parse->getResponse()); echo "</pre>";
联系方式
如有任何需要讨论和了解的信息,请通过以下信息联系
从河内,带着爱与祝福 <3