lastfm-nodejs-client 1.4.5 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{cjs → @types}/auth.d.ts +1 -1
- package/dist/{mjs → @types}/chart/topArtists.d.ts +2 -2
- package/dist/{mjs → @types}/chart/topTags.d.ts +1 -1
- package/dist/{mjs → @types}/chart/topTracks.d.ts +1 -1
- package/dist/{cjs → @types}/createOptions.d.ts +3 -3
- package/dist/{cjs → @types}/getInfo.d.ts +1 -1
- package/dist/{mjs → @types}/getLovedTracks.d.ts +1 -1
- package/dist/{mjs → @types}/getRecentTracks.d.ts +1 -1
- package/dist/{cjs → @types}/getTopAlbums.d.ts +1 -1
- package/dist/{mjs → @types}/getTopArtists.d.ts +1 -1
- package/dist/{mjs → @types}/getTopTracks.d.ts +1 -1
- package/dist/{cjs → @types}/getWeeklyAlbumChart.d.ts +1 -1
- package/dist/{cjs → @types}/getWeeklyArtistChart.d.ts +1 -1
- package/dist/{cjs → @types}/getWeeklyChartList.d.ts +1 -1
- package/dist/{cjs → @types}/getWeeklyTrackChart.d.ts +1 -1
- package/dist/@types/index.d.ts +63 -308
- package/dist/@types/lastfm.types.d.ts +264 -0
- package/dist/{mjs/auth.js → auth.js} +1 -0
- package/dist/auth.js.map +1 -0
- package/dist/{mjs/chart → chart}/topArtists.js +1 -0
- package/dist/chart/topArtists.js.map +1 -0
- package/dist/{mjs/chart → chart}/topTags.js +1 -0
- package/dist/chart/topTags.js.map +1 -0
- package/dist/{mjs/chart → chart}/topTracks.js +1 -0
- package/dist/chart/topTracks.js.map +1 -0
- package/dist/cjs/auth.js +1 -0
- package/dist/cjs/auth.js.map +1 -0
- package/dist/cjs/chart/topArtists.js +1 -0
- package/dist/cjs/chart/topArtists.js.map +1 -0
- package/dist/cjs/chart/topTags.js +1 -0
- package/dist/cjs/chart/topTags.js.map +1 -0
- package/dist/cjs/chart/topTracks.js +1 -0
- package/dist/cjs/chart/topTracks.js.map +1 -0
- package/dist/cjs/config.js +1 -0
- package/dist/cjs/config.js.map +1 -0
- package/dist/cjs/createOptions.js +1 -0
- package/dist/cjs/createOptions.js.map +1 -0
- package/dist/cjs/getInfo.js +1 -0
- package/dist/cjs/getInfo.js.map +1 -0
- package/dist/cjs/getLovedTracks.js +1 -0
- package/dist/cjs/getLovedTracks.js.map +1 -0
- package/dist/cjs/getRecentTracks.js +1 -0
- package/dist/cjs/getRecentTracks.js.map +1 -0
- package/dist/cjs/getTopAlbums.js +2 -1
- package/dist/cjs/getTopAlbums.js.map +1 -0
- package/dist/cjs/getTopArtists.js +1 -0
- package/dist/cjs/getTopArtists.js.map +1 -0
- package/dist/cjs/getTopTracks.js +1 -0
- package/dist/cjs/getTopTracks.js.map +1 -0
- package/dist/cjs/getWeeklyAlbumChart.js +1 -0
- package/dist/cjs/getWeeklyAlbumChart.js.map +1 -0
- package/dist/cjs/getWeeklyArtistChart.js +1 -0
- package/dist/cjs/getWeeklyArtistChart.js.map +1 -0
- package/dist/cjs/getWeeklyChartList.js +1 -0
- package/dist/cjs/getWeeklyChartList.js.map +1 -0
- package/dist/cjs/getWeeklyTrackChart.js +1 -0
- package/dist/cjs/getWeeklyTrackChart.js.map +1 -0
- package/dist/cjs/index.js +3 -2
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/lastfm.types.js +21 -0
- package/dist/cjs/lastfm.types.js.map +1 -0
- package/dist/cjs/method.js +1 -0
- package/dist/cjs/method.js.map +1 -0
- package/dist/cjs/request.js +7 -1
- package/dist/cjs/request.js.map +1 -0
- package/dist/{mjs/config.js → config.js} +1 -0
- package/dist/config.js.map +1 -0
- package/dist/{mjs/createOptions.js → createOptions.js} +1 -0
- package/dist/createOptions.js.map +1 -0
- package/dist/{mjs/getInfo.js → getInfo.js} +1 -0
- package/dist/getInfo.js.map +1 -0
- package/dist/{mjs/getLovedTracks.js → getLovedTracks.js} +1 -0
- package/dist/getLovedTracks.js.map +1 -0
- package/dist/{mjs/getRecentTracks.js → getRecentTracks.js} +1 -0
- package/dist/getRecentTracks.js.map +1 -0
- package/dist/{mjs/getTopAlbums.js → getTopAlbums.js} +3 -2
- package/dist/getTopAlbums.js.map +1 -0
- package/dist/{mjs/getTopArtists.js → getTopArtists.js} +1 -0
- package/dist/getTopArtists.js.map +1 -0
- package/dist/{mjs/getTopTracks.js → getTopTracks.js} +1 -0
- package/dist/getTopTracks.js.map +1 -0
- package/dist/{mjs/getWeeklyAlbumChart.js → getWeeklyAlbumChart.js} +1 -0
- package/dist/getWeeklyAlbumChart.js.map +1 -0
- package/dist/{mjs/getWeeklyArtistChart.js → getWeeklyArtistChart.js} +1 -0
- package/dist/getWeeklyArtistChart.js.map +1 -0
- package/dist/{mjs/getWeeklyChartList.js → getWeeklyChartList.js} +1 -0
- package/dist/getWeeklyChartList.js.map +1 -0
- package/dist/{mjs/getWeeklyTrackChart.js → getWeeklyTrackChart.js} +1 -0
- package/dist/getWeeklyTrackChart.js.map +1 -0
- package/dist/{mjs/index.js → index.js} +4 -2
- package/dist/index.js.map +1 -0
- package/dist/lastfm.types.js +18 -0
- package/dist/lastfm.types.js.map +1 -0
- package/dist/{mjs/method.js → method.js} +1 -0
- package/dist/method.js.map +1 -0
- package/dist/{mjs/request.js → request.js} +7 -1
- package/dist/request.js.map +1 -0
- package/package.json +19 -29
- package/dist/cjs/chart/topArtists.d.ts +0 -2
- package/dist/cjs/chart/topTags.d.ts +0 -2
- package/dist/cjs/chart/topTracks.d.ts +0 -2
- package/dist/cjs/getLovedTracks.d.ts +0 -8
- package/dist/cjs/getRecentTracks.d.ts +0 -8
- package/dist/cjs/getTopArtists.d.ts +0 -8
- package/dist/cjs/getTopTracks.d.ts +0 -8
- package/dist/cjs/index.d.ts +0 -63
- package/dist/cjs/package.json +0 -3
- package/dist/mjs/auth.d.ts +0 -12
- package/dist/mjs/config.d.ts +0 -20
- package/dist/mjs/createOptions.d.ts +0 -7
- package/dist/mjs/getInfo.d.ts +0 -8
- package/dist/mjs/getTopAlbums.d.ts +0 -8
- package/dist/mjs/getWeeklyAlbumChart.d.ts +0 -8
- package/dist/mjs/getWeeklyArtistChart.d.ts +0 -8
- package/dist/mjs/getWeeklyChartList.d.ts +0 -8
- package/dist/mjs/getWeeklyTrackChart.d.ts +0 -8
- package/dist/mjs/index.d.ts +0 -63
- package/dist/mjs/method.d.ts +0 -43
- package/dist/mjs/package.json +0 -3
- package/dist/mjs/request.d.ts +0 -8
- package/lastfm-nodejs-client/package.json +0 -7
- /package/dist/{cjs → @types}/config.d.ts +0 -0
- /package/dist/{cjs → @types}/method.d.ts +0 -0
- /package/dist/{cjs → @types}/request.d.ts +0 -0
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ import { lastFm } from 'lastfm-nodejs-client';
|
|
|
30
30
|
Import the Types as type:
|
|
31
31
|
|
|
32
32
|
```js
|
|
33
|
-
import type { Artist, Track, User, WeeklyAlbum } from 'lastfm-nodejs-client/@types';
|
|
33
|
+
import type { Artist, Track, User, WeeklyAlbum } from 'lastfm-nodejs-client/dist/@types/lastfm.types';
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
_Working on getting these into [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped)_
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function chartTopArtists(method: string, user: string, period: string, page: string, limit: string): Promise<
|
|
1
|
+
import type { ChartTopArtistResponse } from '../lastfm.types';
|
|
2
|
+
export declare function chartTopArtists(method: string, user: string, period: string, page: string, limit: string): Promise<ChartTopArtistResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TagsResponse } from '
|
|
1
|
+
import type { TagsResponse } from '../lastfm.types';
|
|
2
2
|
export declare function chartTopTags(method: string, page: string): Promise<TagsResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TopTrackResponse } from '
|
|
1
|
+
import type { TopTrackResponse } from '../lastfm.types';
|
|
2
2
|
export declare function chartTopTracks(method: string, page: string): Promise<TopTrackResponse>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function createOptions(method: string, user: string, period?: string, limit?: string, page?: string): {
|
|
2
2
|
method: string;
|
|
3
|
-
page: string;
|
|
3
|
+
page: string | undefined;
|
|
4
4
|
user: string;
|
|
5
|
-
period: string;
|
|
6
|
-
limit: string;
|
|
5
|
+
period: string | undefined;
|
|
6
|
+
limit: string | undefined;
|
|
7
7
|
};
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -1,309 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
export interface FriendsResponse {
|
|
64
|
-
friends: Friends;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface Friends {
|
|
68
|
-
'@attr': AttrNowPlaying;
|
|
69
|
-
user: User[];
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface ChartTopArtistRepsonse {
|
|
73
|
-
artists: Artist[];
|
|
74
|
-
'@attr': AttributesPage;
|
|
75
|
-
}
|
|
76
|
-
export interface TopArtistsResponse {
|
|
77
|
-
topartists: TopArtists;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface TopArtists {
|
|
81
|
-
artist: Artist[];
|
|
82
|
-
'@attr': AttrLimit;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export interface WeeklyArtistChartResponse {
|
|
86
|
-
weeklyartistchart: WeeklyArtistChart;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface WeeklyArtistChart {
|
|
90
|
-
artist: Artist[];
|
|
91
|
-
'@attr': AttrLimit;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface WeeklyAlbumChartResponse {
|
|
95
|
-
weeklyalbumchart: WeeklyAlbumChart;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export interface WeeklyAlbumChart {
|
|
99
|
-
album: WeeklyAlbum[];
|
|
100
|
-
'@attr': WeeklyalbumChartAttr;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export interface WeeklyAlbum {
|
|
104
|
-
artist: {
|
|
105
|
-
mbid: string;
|
|
106
|
-
'#text': string;
|
|
107
|
-
};
|
|
108
|
-
mbid: string;
|
|
109
|
-
url: string;
|
|
110
|
-
name: string;
|
|
111
|
-
'@attr': { rank: string };
|
|
112
|
-
playcount: string;
|
|
113
|
-
image?: string;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export interface WeeklyalbumChartAttr {
|
|
117
|
-
from: string;
|
|
118
|
-
to: string;
|
|
119
|
-
user: string;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export interface AlbumAttr {
|
|
123
|
-
rank: string;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export type Artist = {
|
|
127
|
-
'@attr': {
|
|
128
|
-
rank: number;
|
|
129
|
-
};
|
|
130
|
-
cover: ArtistImage;
|
|
131
|
-
image?: Image[];
|
|
132
|
-
mbid: string;
|
|
133
|
-
name: string;
|
|
134
|
-
playcount: number;
|
|
135
|
-
streamable: number;
|
|
136
|
-
url: string;
|
|
137
|
-
'#text': string;
|
|
1
|
+
import { auth } from './auth';
|
|
2
|
+
import { getInfo } from './getInfo';
|
|
3
|
+
import { getLovedTracks } from './getLovedTracks';
|
|
4
|
+
import { getRecentTracks } from './getRecentTracks';
|
|
5
|
+
import { getTopAlbums } from './getTopAlbums';
|
|
6
|
+
import { getTopArtists } from './getTopArtists';
|
|
7
|
+
import { getTopTracks } from './getTopTracks';
|
|
8
|
+
import { getWeeklyAlbumChart } from './getWeeklyAlbumChart';
|
|
9
|
+
import { getWeeklyArtistChart } from './getWeeklyArtistChart';
|
|
10
|
+
import { getWeeklyChartList } from './getWeeklyChartList';
|
|
11
|
+
import { getWeeklyTrackChart } from './getWeeklyTrackChart';
|
|
12
|
+
import { chartTopTags } from './chart/topTags';
|
|
13
|
+
import { chartTopTracks } from './chart/topTracks';
|
|
14
|
+
import { chartTopArtists } from './chart/topArtists';
|
|
15
|
+
declare const LastFmApi: () => {
|
|
16
|
+
auth: typeof auth;
|
|
17
|
+
chart: {
|
|
18
|
+
chartTopArtists: typeof chartTopArtists;
|
|
19
|
+
chartTopTracks: typeof chartTopTracks;
|
|
20
|
+
chartTopTags: typeof chartTopTags;
|
|
21
|
+
};
|
|
22
|
+
config: {
|
|
23
|
+
api_key: string;
|
|
24
|
+
app_name: string;
|
|
25
|
+
base_url: string;
|
|
26
|
+
format: {
|
|
27
|
+
json: string;
|
|
28
|
+
xml: string;
|
|
29
|
+
};
|
|
30
|
+
share_secret: string;
|
|
31
|
+
username: string;
|
|
32
|
+
};
|
|
33
|
+
getInfo: typeof getInfo;
|
|
34
|
+
getLovedTracks: typeof getLovedTracks;
|
|
35
|
+
getRecentTracks: typeof getRecentTracks;
|
|
36
|
+
getTopAlbums: typeof getTopAlbums;
|
|
37
|
+
getTopArtists: typeof getTopArtists;
|
|
38
|
+
getTopTracks: typeof getTopTracks;
|
|
39
|
+
getWeeklyAlbumChart: typeof getWeeklyAlbumChart;
|
|
40
|
+
getWeeklyArtistChart: typeof getWeeklyArtistChart;
|
|
41
|
+
getWeeklyChartList: typeof getWeeklyChartList;
|
|
42
|
+
getWeeklyTrackChart: typeof getWeeklyTrackChart;
|
|
43
|
+
method: {
|
|
44
|
+
auth: string;
|
|
45
|
+
chart: {
|
|
46
|
+
getTopTracks: string;
|
|
47
|
+
getTopTags: string;
|
|
48
|
+
getTopArtists: string;
|
|
49
|
+
};
|
|
50
|
+
user: {
|
|
51
|
+
getInfo: string;
|
|
52
|
+
getLovedTracks: string;
|
|
53
|
+
getRecentTracks: string;
|
|
54
|
+
getTopAlbums: string;
|
|
55
|
+
getTopArtists: string;
|
|
56
|
+
getTopTracks: string;
|
|
57
|
+
getWeeklyAlbumChart: string;
|
|
58
|
+
getWeeklyArtistChart: string;
|
|
59
|
+
getWeeklyChartList: string;
|
|
60
|
+
getWeeklyTrackChart: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
138
63
|
};
|
|
139
|
-
|
|
140
|
-
export interface AttributesPage {
|
|
141
|
-
page: number;
|
|
142
|
-
perPage: number;
|
|
143
|
-
user: string;
|
|
144
|
-
total: number;
|
|
145
|
-
totalPages: number;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export interface ArtistImage {
|
|
149
|
-
name: string;
|
|
150
|
-
photo: string;
|
|
151
|
-
attribution: string;
|
|
152
|
-
playcount: number;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export interface Album extends Track {
|
|
156
|
-
album: Album;
|
|
157
|
-
artist: Artist;
|
|
158
|
-
name: string;
|
|
159
|
-
url: string;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export interface AttrNowPlaying {
|
|
163
|
-
nowplaying: string;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export interface Date {
|
|
167
|
-
uts: string;
|
|
168
|
-
'#text': string;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export interface Track {
|
|
172
|
-
'@attr'?: AttrRank;
|
|
173
|
-
album: Album;
|
|
174
|
-
artist: Artist;
|
|
175
|
-
date?: Date;
|
|
176
|
-
duration?: string;
|
|
177
|
-
image?: Image[];
|
|
178
|
-
mbid: string;
|
|
179
|
-
name: string;
|
|
180
|
-
playcount?: string;
|
|
181
|
-
streamable?: string;
|
|
182
|
-
url: string;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export interface AttrLimit {
|
|
186
|
-
user?: string;
|
|
187
|
-
totalPages: string;
|
|
188
|
-
page: string;
|
|
189
|
-
perPage: string;
|
|
190
|
-
total: string;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export interface RecentTracks {
|
|
194
|
-
track: Track[];
|
|
195
|
-
'@attr': AttrLimit;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export interface Image {
|
|
199
|
-
size: string;
|
|
200
|
-
'#text': string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export interface Registered {
|
|
204
|
-
unixtime: string;
|
|
205
|
-
'#text': number;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export interface User {
|
|
209
|
-
name: string;
|
|
210
|
-
age: string;
|
|
211
|
-
subscriber: string;
|
|
212
|
-
realname: string;
|
|
213
|
-
bootstrap: string;
|
|
214
|
-
playcount: string;
|
|
215
|
-
artist_count: string;
|
|
216
|
-
playlists: string;
|
|
217
|
-
track_count: string;
|
|
218
|
-
album_count: string;
|
|
219
|
-
image: Image[];
|
|
220
|
-
registered: Registered;
|
|
221
|
-
country: string;
|
|
222
|
-
gender: string;
|
|
223
|
-
url: string;
|
|
224
|
-
type: string;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export interface TopAlbums {
|
|
228
|
-
album: Album[];
|
|
229
|
-
'@attr': AttrLimit;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
export interface WeeklyArtistChartResponse {
|
|
233
|
-
weeklyartistchart: WeeklyArtistChart;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export interface WeeklyArtistChart {
|
|
237
|
-
artist: Artist[];
|
|
238
|
-
'@attr': AttrLimit;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
export interface AttrRank {
|
|
242
|
-
rank?: string;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
export interface AttrLimit {
|
|
246
|
-
from: string;
|
|
247
|
-
user: string;
|
|
248
|
-
to: string;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
export interface WeeklyChartListResponse {
|
|
252
|
-
weeklychartlist: WeeklyChartList;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
export interface WeeklyChartList {
|
|
256
|
-
chart: WeeklyChartListChart[];
|
|
257
|
-
'@attr': WeeklyChartListAttr;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
export interface WeeklyChartListChart {
|
|
261
|
-
'#text': string;
|
|
262
|
-
from: string;
|
|
263
|
-
to: string;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
export interface WeeklyChartListAttr {
|
|
267
|
-
user: string;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
export interface WeeklyTrackChartResponse {
|
|
271
|
-
weeklytrackchart: WeeklyTrackChart;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
export interface WeeklyTrackChart {
|
|
275
|
-
track: Track[];
|
|
276
|
-
'@attr': AttrLimit;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export interface WeeklyTrackChartTrack {
|
|
280
|
-
artist: WeeklyTrackChartArtist;
|
|
281
|
-
image: Image[];
|
|
282
|
-
mbid: string;
|
|
283
|
-
url: string;
|
|
284
|
-
name: string;
|
|
285
|
-
'@attr': AttrNowPlaying;
|
|
286
|
-
playcount: string;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
export interface WeeklyTrackChartArtist {
|
|
290
|
-
mbid: string;
|
|
291
|
-
'#text': string;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export enum ErrorResponse {
|
|
295
|
-
InvalidService = 2,
|
|
296
|
-
InvalidMethod = 3,
|
|
297
|
-
AuthenticationFailed = 4,
|
|
298
|
-
InvalidFormat = 5,
|
|
299
|
-
InvalidParameters = 6,
|
|
300
|
-
InvalidResource = 7,
|
|
301
|
-
OperationFailed = 8,
|
|
302
|
-
InvalidSessionKey = 9,
|
|
303
|
-
InvalidAPIKey = 10,
|
|
304
|
-
ServiceOffline = 11,
|
|
305
|
-
InvalidMethodSignature = 13,
|
|
306
|
-
TemporaryError = 16,
|
|
307
|
-
SuspendedAPIKey = 26,
|
|
308
|
-
RateLimitExceeded = 29,
|
|
309
|
-
}
|
|
64
|
+
export default LastFmApi;
|