Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
More constructor options
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Eyrick authored Apr 13, 2018
2 parents 4382989 + 0667f3d commit b5db5f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This project is designed to help you make your own projects that interact with t
> Special thank you to all contributors: **dmzoneill, dxjones, jokaorgua,** and others!! *This package needs help from the community.* Improvements contributed to this project are encouraged, and you will be given full credit for changes. All pull requests welcome.
#### Getting started
`composer require jaggedsoft/php-binance-api`
```php
require 'vendor/autoload.php';
$api = new Binance\API("<api key>","<secret>");
Expand Down
4 changes: 2 additions & 2 deletions php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ public function __construct() {
$this->__construct2( $param[ 0 ], $param[ 1 ] );
break;
case 3:
$this->__construct2( $param[ 0 ], $param[ 1 ], $param[ 2 ] );
$this->__construct3( $param[ 0 ], $param[ 1 ], $param[ 2 ] );
break;
case 4:
$this->__construct2( $param[ 0 ], $param[ 1 ], $param[ 2 ], $param[ 3 ] );
$this->__construct4( $param[ 0 ], $param[ 1 ], $param[ 2 ], $param[ 3 ] );
break;
}
}
Expand Down

0 comments on commit b5db5f2

Please sign in to comment.