Skip to content

Releases: jaggedsoft/php-binance-api

Stable Release

21 May 21:38
Compare
Choose a tag to compare

Many improvements and bug fixes.
16 commits by dmzoneill 🏆

Stable Release

03 May 18:43
Compare
Choose a tag to compare

Automatically fix CA certificate issues in certain WAMP installations
Several improvements + 6 commits by dmzoneill

Stable Release

02 May 17:07
Compare
Choose a tag to compare

Please see the update to the constructor:

require 'vendor/autoload.php';
// 1. config in home directory
$api = new Binance\API();
// 2. config in specified file
$api = new Binance\API( "somefile.json" );
// 3. config by specifying api key and secret
$api = new Binance\API("<api key>","<secret>");
    public function __construct()
    {
        $param = func_get_args();
        switch (func_num_args()) {
            case 0:
                $this->setupApiConfigFromFile();
                $this->setupProxyConfigFromFile();
                break;
            case 1:
                $this->setupApiConfigFromFile($param[0]);
                $this->setupProxyConfigFromFile($param[0]);
                $this->setupCurlOptsFromFile($param[0]);
                break;
            case 2:
                $this->api_key = $param[0];
                $this->api_secret = $param[1];
                break;
        }
    }

Stable Release

25 Apr 19:22
876a819
Compare
Choose a tag to compare

Fix miniTicker + 7 commits by dmzoneill

Stable Release

22 Apr 03:10
897c9bb
Compare
Choose a tag to compare

Fix history() function, fromId defaults to all

Stable Release

20 Apr 00:16
7502938
Compare
Choose a tag to compare

20 commits by dmzoneill 🏆

Stable Release

16 Apr 04:30
44d8026
Compare
Choose a tag to compare

withdrawHistory and depositHistory now supports optional parameters: startTime, endTime, status
new withdrawFee function (thanks eugypalu)
withdrawHistory changes suggested by dormadekhin-denis. Thanks!

Stable Release

16 Apr 00:10
Compare
Choose a tag to compare

dmzoneill fixed kline + several other improvements 🏆

Stable Release

13 Apr 18:15
Compare
Choose a tag to compare

Fixes #110 and #109 (Thanks dmzoneill!)

Stable Release

13 Apr 00:37
Compare
Choose a tag to compare

More constructor options:

Default way

require 'vendor/autoload.php';
$api = new Binance\API("<api key>","<secret>");

Config file (JSON)

Your json should have "api-key" and "api-secret" values set

require 'vendor/autoload.php';
$api = new Binance\API("config.json");