Home Notices Documents Classes Download Others Rice
Classes  >  zaifapi  >  zaifapi(string,string,int)
zaifapi class : zaifapi(string,string,int) fitter

Description

Gets an instance that has been set api key, secret key, and timeout span.

Syntax

new zaifapi(string,string,int)

Arguments

ClassNameDescription
stringapiKeyapi key.
stringsecretKeysecret key.
inttimeOutTimeout span. The unit is milliseconds.

Return value

ClassDescription
zaifapiAn 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:

zaifapi zaifapiIns = new zaifapi(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.

Links for reference

Copyright © Rice All rights reserved.