fyrts/carflow-php

Carflow.pro API 的包装器

1.0.1 2017-12-19 11:26 UTC

This package is auto-updated.

Last update: 2024-09-29 04:48:56 UTC


README

一个用于与 Carflow API 通信的简单库。

原始 API 中的一些奇怪之处已被更改。例如,属性名称始终使用驼峰命名法。

用法

使用 Composer 安装

composer require fyrts/carflow-php

创建一个 Carflow\Client 实例

$client = new Carflow\Client(Carflow\Language::DUTCH);
$vehicles = $client->getBranchVehicles($branch_id, true);