dataconnect/rdc-vts
Composer 安装命令:
composer require dataconnect/rdc-vts
包简介
RDC VTS-XML
README 文档
README
PHP client for RDC VTS-XML v3.0, retrieving vehicle data from RDC.
To retrieve data, you need to be a registered company at RDC and have access to the VTS-XML service.
Note: this is only vehicle data for registered license plates in the Netherlands.
Requirements
rdc-vts requires PHP 8.4 or above.
Installation
Can be installed with Composer.
To get the latest version of rdc-vts use:
composer require dataconnect/rdc-vts
Example
use RdcVts\RdcVtsApiClient;
$url = 'https://services.rdc.nl/voertuigscan/3.2/wsdl';
$identifier = 'your_number';
$username = 'your_username';
$password = 'your_password';
$client = new RdcVtsApiClient($url, $identifier, $username, $password);
$response = $client->getVehicleScan('S801PV', 10000);
$data = json_decode($response, true);
if (!$data['error']) {
echo "Brand: {$data['brand']}";
echo "Model: {$data['model']}";
echo "Color: {$data['color']}";
}
Support
Want to support our work? A donation is very welcome: https://buymeacoffee.com/dataconnect
Contact
Please feel free to contact us, to add options if possible!
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-19