library yandex-api-core
Core code for clients
slava-basko/yandex-api-core
Core code for clients
- Monday, November 14, 2016
- by slava-basko
- Repository
- 1 Watchers
- 0 Stars
- 152 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
yandex-api-core
Core functionality for SDK, (*1)
How to use?
use Yandex\Http\Client;
use Yandex\Auth\Token;
use Yandex\Http\Curl;
use YandexWebmaster\Action\GetUserIdAction;
use YandexWebmaster\ActionHandler\GetUserIdActionHandler;
$client = new Client('url', 'client_id', 'client_password', new Curl());
$client->addActionHandler(GetUserIdAction::class, GetUserIdActionHandler::class);
$client->addHeader('Content-type', 'application/json');
$client->call('<action>');
dev-master
9999999-dev
Core code for clients
Sources
Download
MIT
The Requires
by
Slava Basko
api
core
yandex