updevru/php-esputnik-api

Library for e-sputnik.com REST api

dev-master 2017-03-22 20:38 UTC

This package is auto-updated.

Last update: 2024-05-29 03:27:55 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