updevru / php-esputnik-api
为 e-sputnik.com REST api 的库
dev-master
2017-03-22 20:38 UTC
Requires
- php: >=5.5
- ext-curl: *
- guzzlehttp/guzzle: 6.*
- jms/serializer: ^1.3
Requires (Dev)
- phpspec/phpspec: dev-master
This package is auto-updated.
Last update: 2024-09-29 04:08:54 UTC
README
使用 Esputnik API。
要求
- PHP >= 5.6
- Guzzle 6.0+ 库,
- (可选) PHPUnit 运行测试。
安装
composer require n10ty/php-esputnik-api
基本用法
<?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();
从 $client
对象,您可以访问所有命名空间。
灵感来自
许可证
MIT 许可证