bitbankapi class : bitbankapi(string,string,int) fitter
Description
Gets an instance that has been set api key, secret key, and timeout span.
Syntax
new bitbankapi(string,string,int)
Arguments
Class | Name | Description |
string | apiKey | api key. |
string | secretKey | secret key. |
int | timeOut | Timeout span. The unit is milliseconds. |
Return value
Class | Description |
bitbankapi | An instance that has been set api key, secret key, and timeout span. |
Sample code
1: | string apiKey = "3622c294-zs5m-587w-vv7j-sdf454h1sdbl"; |
2: | string secretKey = "4be789k3-dd7r-9d23-jy45-qng4c83hjk1g"; |
3: | bitbankapi bitbankapiIns = new bitbankapi(apiKey, secretKey, 1000); // 1000 millisecond |
Notes
The instance returned by this fitter has been initialized and has been set api key, secret key, and timeout span.
The timeout span should be specified in milliseconds.
The default for the timeout span is 100000 milliseconds.