Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stk2k/phinance
phinance, binance API PHP client
https://github.com/stk2k/phinance
Last synced: 4 days ago
JSON representation
phinance, binance API PHP client
- Host: GitHub
- URL: https://github.com/stk2k/phinance
- Owner: stk2k
- License: mit
- Created: 2018-03-28T03:32:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T11:53:23.000Z (over 6 years ago)
- Last Synced: 2024-12-10T06:14:31.800Z (27 days ago)
- Language: PHP
- Size: 42 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
phinance, binance API PHP client
=======================## Description
phinance is a PHP library which provides calling binance-API.
## Feature
- simple interface
## Demo
### simple and fastest sample:
```php
use Phinance\PhinanceClient;
$client = new PhinanceClient();
$exchange_info = $client->getExchangeInfo();
foreach($exchange_info->symbols as $idx => $symbol){
echo $idx . '.' . PHP_EOL;
echo 'symbol:' . $symbol->symbol . PHP_EOL;
}
```## Usage
1. create PhinanceClient object.
2. call API method.
3. The method returns array or object(stdClass).## Requirement
PHP 5.5 or later
## Installing phinance
The recommended way to install phinance is through
[Composer](http://getcomposer.org).```bash
composer require stk2k/phinance
```After installing, you need to require Composer's autoloader:
```php
require 'vendor/autoload.php';
```## License
[MIT](https://github.com/stk2k/phinance/blob/master/LICENSE)## Author
[stk2k](https://github.com/stk2k)
## Disclaimer
This software is no warranty.
We are not responsible for any results caused by the use of this software.
Please use the responsibility of the your self.
## Donation
-Bitcoin: 3HCw9pp6dSq1xU9iPoPKVFyVbM8iBrrinn