leyhmann/docdochelpers

用于使用docdoc.ru合作伙伴API的简单助手

v2.1.4 2020-06-12 15:24 UTC

This package is auto-updated.

Last update: 2024-09-21 23:35:18 UTC


README

官方API文档版本 1.0.12

安装

通过composer安装。

composer require leyhmann/docdochelpers

示例

use Leyhmann\DocDoc\Services\DoctorsService;

$client = new Client(DOCDOC_LOGIN, DOCDOC_PASSWORD);
$doctorsService = new DoctorsService($client);
$doctors = $doctorsService->all($cityId : int, $count: int|null, $start: int|null);

foreach($doctors as $doctor) {
    // do something
}

查看Services文件夹以发送请求