n10ty/php-esputnik-api

This package is abandoned and no longer maintained. No replacement package was suggested.

Library for e-sputnik.com REST api

dev-master 2016-09-18 19:14 UTC

This package is not auto-updated.

Last update: 2020-08-16 17:43:35 UTC


README

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