mnib/urgentcargus-php

UrgentCargus API 的 PHP 封装

1 2017-09-12 23:11 UTC

This package is not auto-updated.

Last update: 2024-09-17 04:07:48 UTC


README

该 API 是基于 HTTP 的 RESTful JSON,使用 GuzzleHttp 作为 HTTP 客户端。

使用示例

$client = new \MNIB\UrgentCargus\Client($apiKey, $apiUri);
...
$token = $client->getToken('username', 'password');
...
$result = $client->get('PickupLocations', [], $token);