UNPKG
yandex-music-client
Version:
latest (0.4.3)
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
``` npm i yandex-music-client ```
yandex-music-client
/
token.d.ts
9 lines
(8 loc)
•
276 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
AxiosResponse
}
from
'axios'
;
export
interface
TokenResponse
{
access_token
:
string
;
expires_in
?:
number
;
token_type
?:
string
;
uid
:
number
; }
export
declare
function
getToken
(
username
:
string
,
password
:
string
):
Promise
<
AxiosResponse
<
TokenResponse
>>;