library wexnz-api
WEX.nz API Class
sn8/wexnz-api
WEX.nz API Class
- Sunday, June 10, 2018
- by sn8
- Repository
- 1 Watchers
- 0 Stars
- 4 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 42 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
WEX.nz API Class, (*1)
Allows for the use of the Private and Public APIs from WEX.nz., (*2)
Built in Support For:
Public API:
Currency Pair Fees
Currency Pair Tickers
Currency Pair Trades
Currency Pair Depths, (*3)
Private API:
Trade (Buy/Sell) Orders
Checking on Past Orders
API Query Method
- Auto-recovery from bad noonces
- Allows any method with any parameters to be called on btc-e
Example Usage provided in Example.php
How to integrate:
use sn8\WEXnzAPI;
$api = new WEXnzAPI({APIKEY},{APISECRET}[,Optional:{START_NOONCE}]);
Private API Quick Example:
$api->makeOrder($amount, $pair, $direction, $price);
Public API Quick Example:
$api->getPairDepth('btc_usd');