Search
Preparing search index...
The search index is not available
nbrb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
nbrb
NBRBClient
Class NBRBClient
Hierarchy
NBRBClient
Index
Constructors
constructor
Properties
#url
Accessors
url
Methods
#fetch
get
Currencies
get
Currency
get
Dynamics
get
Rate
get
Rates
Constructors
constructor
new NBRBClient
(
__namedParameters
?:
NBRBClientOptions
)
:
NBRBClient
Parameters
__namedParameters:
NBRBClientOptions
= {}
Returns
NBRBClient
Properties
Private
Readonly
#url
#url
:
URL
Accessors
url
get
url
(
)
:
URL
Returns
URL
Methods
Private
#fetch
#fetch
<
T
>
(
path
:
string
)
:
Promise
<
T
>
Type parameters
T =
unknown
Parameters
path:
string
Returns
Promise
<
T
>
get
Currencies
get
Currencies
(
)
:
Promise
<
ICurrency
[]
>
Returns
Promise
<
ICurrency
[]
>
get
Currency
get
Currency
(
__namedParameters
:
IGetCurrencyOptions
)
:
Promise
<
ICurrency
>
Parameters
__namedParameters:
IGetCurrencyOptions
Returns
Promise
<
ICurrency
>
get
Dynamics
get
Dynamics
(
__namedParameters
:
IGetDynamicsOptions
)
:
Promise
<
IBaseRate
[]
>
Parameters
__namedParameters:
IGetDynamicsOptions
Returns
Promise
<
IBaseRate
[]
>
get
Rate
get
Rate
(
options
:
(
IGetRateOptions
&
{
Cur_Abbreviation
:
string
}
)
&
(
IGetRateOptions
&
{
Cur_Code
:
string
}
)
&
(
IGetRateOptions
&
{
Cur_ID
:
number
}
)
)
:
Promise
<
IRate
>
Parameters
options:
(
IGetRateOptions
&
{
Cur_Abbreviation
:
string
}
)
&
(
IGetRateOptions
&
{
Cur_Code
:
string
}
)
&
(
IGetRateOptions
&
{
Cur_ID
:
number
}
)
Returns
Promise
<
IRate
>
get
Rates
get
Rates
(
__namedParameters
?:
IGetRatesOptions
)
:
Promise
<
IRate
[]
>
Parameters
__namedParameters:
IGetRatesOptions
= {}
Returns
Promise
<
IRate
[]
>
Exports
NBRBClient
constructor
#url
url
#fetch
get
Currencies
get
Currency
get
Dynamics
get
Rate
get
Rates