An open API service indexing awesome lists of open source software.

https://github.com/updevru/php-esputnik-api

Client for eSputnik Api (https://esputnik.com/api/index.html)
https://github.com/updevru/php-esputnik-api

Last synced: about 1 month ago
JSON representation

Client for eSputnik Api (https://esputnik.com/api/index.html)

Awesome Lists containing this project

README

          

# PHP Esputnik api client

Uses [Esputnik API](https://esputnik.com.ua/api/index.html).

## Requirements

* PHP >= 5.6
* [Guzzle 6.0+](https://github.com/guzzle/guzzle) library,
* (optional) PHPUnit to run tests.

## Installing

```
composer require n10ty/php-esputnik-api
```

## Basic usage

```php
authenticate('login', 'password');

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

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

## Inspired by

[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api)

## License

MIT License