Skip to content

Files

Latest commit

 

History

History
40 lines (24 loc) · 683 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 683 Bytes

PHP Esputnik api client

Uses Esputnik API.

Requirements

  • PHP >= 5.6
  • Guzzle 6.0+ library,
  • (optional) PHPUnit to run tests.

Installing

composer require n10ty/php-esputnik-api

Basic usage

<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$client = new \Esputnik\Client();
$client->authenticate('login', 'password');

$repositories = $client->api('balance')->show();

From $client object, you can access to all namespaces.

Inspired by

KnpLabs/php-github-api

License

MIT License