UNPKG
battlemetrics
Version:
latest (1.1.0)
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A Promise-Based Battlemetrics API Wrapper
github.com/blained-dev/bm-api
blained-dev/bm-api
battlemetrics
/
dist
/
base.d.ts
9 lines
(8 loc)
•
294 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
AxiosRequestConfig
,
AxiosResponse
}
from
'axios'
;
export
declare
abstract
class
Client
{
private
apiKey;
constructor
(
config
: { apiKey:
string
; }
);
protected
request<T>(
endpoint
:
string
,
options
?:
AxiosRequestConfig
):
Promise
<
AxiosResponse
<
any
,
any
>>; }