2017 © Pedro Peláez
 

library yandex-api-core

Core code for clients

image

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

The README.md

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>');

The Versions

14/11 2016

dev-master

9999999-dev

Core code for clients

  Sources   Download

MIT

The Requires

 

by Slava Basko

api core yandex