leyhmann / docdochelpers
Simple helper for use docdoc.ru partner API
v2.1.4
2020-06-12 15:24 UTC
Requires
- php: ^7.2
- ext-json: *
- kriswallsmith/buzz: ^0.17.2
Requires (Dev)
- phpunit/phpunit: ^6.2|^7.0
README
Official API Documentation Version 1.0.12
Install
Install by composer.
composer require leyhmann/docdochelpers
Example
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 }