zb.com API Wrapper
A node.js wrapper for the REST APIs exposed by bitcoin exchange zb.com. You will need to have a registered account with zb.com and generated API keys to access the private methods.
Please contact support@zb.com if you are having trouble opening an account or generating an API key.
A node.js wrapper for the REST APIs exposed by bitcoin exchange zb.com. You will need to have a registered account with zb.com and generated API keys to access the private methods.
Please contact support@zb.com if you are having trouble opening and account or generating an API key.
Install
npm install z_zbapi
var zbcom = ; // Test public data APIsvar publicClient = ; // get BTCUSDT tickerpublicClient; // get BTCUSDT order bookpublicClient; // get BTCUSDT tradespublicClient; // replace the parameters with your API key and secretvar privateClient = 'your-api-key' 'your-api-secret'; privateClient; // buy limit order for 0.01 BTC at price 4000 USDTprivateClient;