Search
Preparing search index...
The search index is not available
@samuraitruong/coinspot-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@samuraitruong/coinspot-api
public-api-client
PublicApiClient
Class PublicApiClient
Hierarchy
BaseClient
PublicApiClient
Index
Constructors
constructor
Properties
api
Url
Methods
calculate
Sign
get
Latest
get
Request
post
Request
Constructors
constructor
new
Public
Api
Client
(
)
:
PublicApiClient
Returns
PublicApiClient
Properties
api
Url
api
Url
:
string
Methods
calculate
Sign
calculate
Sign<T>
(
data
:
T
)
:
{
postdata
:
string
;
sign
:
string
}
Type parameters
T
Parameters
data:
T
Returns
{
postdata
:
string
;
sign
:
string
}
postdata
:
string
sign
:
string
get
Latest
get
Latest
(
)
:
Promise
<
LatestPrices
>
Returns
Promise
<
LatestPrices
>
get
Request
get
Request<T>
(
apiPath
:
string
)
:
Promise
<
T
>
Type parameters
T
Parameters
apiPath:
string
Returns
Promise
<
T
>
post
Request
post
Request<T>
(
url
:
string
, data
?:
{}
)
:
Promise
<
T
>
Type parameters
T
Parameters
url:
string
data:
{}
= ...
[
key:
string
]:
any
Returns
Promise
<
T
>
Exports
base-
client
chart-
client
client
index
public-
api-
client
read-
only-
client
types
Public
Api
Client
constructor
api
Url
calculate
Sign
get
Latest
get
Request
post
Request
Generated using
TypeDoc