lastfm-nodejs-client 1.5.5 → 1.6.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/dist/@types/album/addTags.d.ts +2 -0
- package/dist/@types/album/getInfo.d.ts +2 -0
- package/dist/@types/album/getTags.d.ts +2 -0
- package/dist/@types/album/getTopTags.d.ts +2 -0
- package/dist/@types/album/removeTag.d.ts +2 -0
- package/dist/@types/album/search.d.ts +2 -0
- package/dist/@types/artist/addTags.d.ts +2 -0
- package/dist/@types/artist/getCorrection.d.ts +2 -0
- package/dist/@types/artist/getInfo.d.ts +2 -0
- package/dist/@types/artist/getSimilar.d.ts +2 -0
- package/dist/@types/artist/getTags.d.ts +2 -0
- package/dist/@types/artist/getTopAlbums.d.ts +2 -0
- package/dist/@types/artist/getTopTags.d.ts +2 -0
- package/dist/@types/artist/getTopTracks.d.ts +2 -0
- package/dist/@types/artist/removeTag.d.ts +2 -0
- package/dist/@types/artist/search.d.ts +2 -0
- package/dist/@types/auth/getMobileSession.d.ts +2 -0
- package/dist/@types/auth/getSession.d.ts +2 -0
- package/dist/@types/createOptions.d.ts +13 -1
- package/dist/@types/geo/getTopArtists.d.ts +2 -0
- package/dist/@types/geo/getTopTracks.d.ts +2 -0
- package/dist/@types/getFriends.d.ts +8 -0
- package/dist/@types/getUserTopTags.d.ts +8 -0
- package/dist/@types/index.d.ts +158 -1
- package/dist/@types/lastfm.types.d.ts +598 -2
- package/dist/@types/library/getArtists.d.ts +2 -0
- package/dist/@types/md5.d.ts +7 -0
- package/dist/@types/method.d.ts +123 -2
- package/dist/@types/request.d.ts +16 -0
- package/dist/@types/tag/getInfo.d.ts +2 -0
- package/dist/@types/tag/getSimilar.d.ts +2 -0
- package/dist/@types/tag/getTopAlbums.d.ts +2 -0
- package/dist/@types/tag/getTopArtists.d.ts +2 -0
- package/dist/@types/tag/getTopTags.d.ts +2 -0
- package/dist/@types/tag/getWeeklyChartList.d.ts +2 -0
- package/dist/@types/tag/topTracks.d.ts +8 -0
- package/dist/@types/track/addTags.d.ts +2 -0
- package/dist/@types/track/getCorrection.d.ts +2 -0
- package/dist/@types/track/getInfo.d.ts +2 -0
- package/dist/@types/track/getSimilar.d.ts +2 -0
- package/dist/@types/track/getTags.d.ts +2 -0
- package/dist/@types/track/getTopTags.d.ts +2 -0
- package/dist/@types/track/love.d.ts +2 -0
- package/dist/@types/track/removeTag.d.ts +2 -0
- package/dist/@types/track/scrobble.d.ts +2 -0
- package/dist/@types/track/search.d.ts +2 -0
- package/dist/@types/track/unlove.d.ts +2 -0
- package/dist/@types/track/updateNowPlaying.d.ts +2 -0
- package/dist/@types/user/getPersonalTags.d.ts +2 -0
- package/dist/album/addTags.js +6 -0
- package/dist/album/addTags.js.map +1 -0
- package/dist/album/getInfo.js +5 -0
- package/dist/album/getInfo.js.map +1 -0
- package/dist/album/getTags.js +5 -0
- package/dist/album/getTags.js.map +1 -0
- package/dist/album/getTopTags.js +5 -0
- package/dist/album/getTopTags.js.map +1 -0
- package/dist/album/removeTag.js +6 -0
- package/dist/album/removeTag.js.map +1 -0
- package/dist/album/search.js +5 -0
- package/dist/album/search.js.map +1 -0
- package/dist/artist/addTags.js +6 -0
- package/dist/artist/addTags.js.map +1 -0
- package/dist/artist/getCorrection.js +5 -0
- package/dist/artist/getCorrection.js.map +1 -0
- package/dist/artist/getInfo.js +5 -0
- package/dist/artist/getInfo.js.map +1 -0
- package/dist/artist/getSimilar.js +5 -0
- package/dist/artist/getSimilar.js.map +1 -0
- package/dist/artist/getTags.js +5 -0
- package/dist/artist/getTags.js.map +1 -0
- package/dist/artist/getTopAlbums.js +5 -0
- package/dist/artist/getTopAlbums.js.map +1 -0
- package/dist/artist/getTopTags.js +5 -0
- package/dist/artist/getTopTags.js.map +1 -0
- package/dist/artist/getTopTracks.js +5 -0
- package/dist/artist/getTopTracks.js.map +1 -0
- package/dist/artist/removeTag.js +6 -0
- package/dist/artist/removeTag.js.map +1 -0
- package/dist/artist/search.js +5 -0
- package/dist/artist/search.js.map +1 -0
- package/dist/auth/getMobileSession.js +6 -0
- package/dist/auth/getMobileSession.js.map +1 -0
- package/dist/auth/getSession.js +6 -0
- package/dist/auth/getSession.js.map +1 -0
- package/dist/cjs/album/addTags.js +9 -0
- package/dist/cjs/album/addTags.js.map +1 -0
- package/dist/cjs/album/getInfo.js +11 -0
- package/dist/cjs/album/getInfo.js.map +1 -0
- package/dist/cjs/album/getTags.js +11 -0
- package/dist/cjs/album/getTags.js.map +1 -0
- package/dist/cjs/album/getTopTags.js +11 -0
- package/dist/cjs/album/getTopTags.js.map +1 -0
- package/dist/cjs/album/removeTag.js +9 -0
- package/dist/cjs/album/removeTag.js.map +1 -0
- package/dist/cjs/album/search.js +11 -0
- package/dist/cjs/album/search.js.map +1 -0
- package/dist/cjs/artist/addTags.js +9 -0
- package/dist/cjs/artist/addTags.js.map +1 -0
- package/dist/cjs/artist/getCorrection.js +11 -0
- package/dist/cjs/artist/getCorrection.js.map +1 -0
- package/dist/cjs/artist/getInfo.js +11 -0
- package/dist/cjs/artist/getInfo.js.map +1 -0
- package/dist/cjs/artist/getSimilar.js +11 -0
- package/dist/cjs/artist/getSimilar.js.map +1 -0
- package/dist/cjs/artist/getTags.js +11 -0
- package/dist/cjs/artist/getTags.js.map +1 -0
- package/dist/cjs/artist/getTopAlbums.js +11 -0
- package/dist/cjs/artist/getTopAlbums.js.map +1 -0
- package/dist/cjs/artist/getTopTags.js +11 -0
- package/dist/cjs/artist/getTopTags.js.map +1 -0
- package/dist/cjs/artist/getTopTracks.js +11 -0
- package/dist/cjs/artist/getTopTracks.js.map +1 -0
- package/dist/cjs/artist/removeTag.js +9 -0
- package/dist/cjs/artist/removeTag.js.map +1 -0
- package/dist/cjs/artist/search.js +11 -0
- package/dist/cjs/artist/search.js.map +1 -0
- package/dist/cjs/auth/getMobileSession.js +9 -0
- package/dist/cjs/auth/getMobileSession.js.map +1 -0
- package/dist/cjs/auth/getSession.js +9 -0
- package/dist/cjs/auth/getSession.js.map +1 -0
- package/dist/cjs/createOptions.js +13 -1
- package/dist/cjs/createOptions.js.map +1 -1
- package/dist/cjs/geo/getTopArtists.js +11 -0
- package/dist/cjs/geo/getTopArtists.js.map +1 -0
- package/dist/cjs/geo/getTopTracks.js +11 -0
- package/dist/cjs/geo/getTopTracks.js.map +1 -0
- package/dist/cjs/getFriends.js +19 -0
- package/dist/cjs/getFriends.js.map +1 -0
- package/dist/cjs/getUserTopTags.js +19 -0
- package/dist/cjs/getUserTopTags.js.map +1 -0
- package/dist/cjs/index.js +108 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lastfm.types.js.map +1 -1
- package/dist/cjs/library/getArtists.js +11 -0
- package/dist/cjs/library/getArtists.js.map +1 -0
- package/dist/cjs/md5.js +80 -0
- package/dist/cjs/md5.js.map +1 -0
- package/dist/cjs/method.js +58 -1
- package/dist/cjs/method.js.map +1 -1
- package/dist/cjs/request.js +104 -0
- package/dist/cjs/request.js.map +1 -1
- package/dist/cjs/tag/getInfo.js +11 -0
- package/dist/cjs/tag/getInfo.js.map +1 -0
- package/dist/cjs/tag/getSimilar.js +11 -0
- package/dist/cjs/tag/getSimilar.js.map +1 -0
- package/dist/cjs/tag/getTopAlbums.js +11 -0
- package/dist/cjs/tag/getTopAlbums.js.map +1 -0
- package/dist/cjs/tag/getTopArtists.js +11 -0
- package/dist/cjs/tag/getTopArtists.js.map +1 -0
- package/dist/cjs/tag/getTopTags.js +11 -0
- package/dist/cjs/tag/getTopTags.js.map +1 -0
- package/dist/cjs/tag/getWeeklyChartList.js +11 -0
- package/dist/cjs/tag/getWeeklyChartList.js.map +1 -0
- package/dist/cjs/tag/topTracks.js +17 -0
- package/dist/cjs/tag/topTracks.js.map +1 -0
- package/dist/cjs/track/addTags.js +9 -0
- package/dist/cjs/track/addTags.js.map +1 -0
- package/dist/cjs/track/getCorrection.js +11 -0
- package/dist/cjs/track/getCorrection.js.map +1 -0
- package/dist/cjs/track/getInfo.js +11 -0
- package/dist/cjs/track/getInfo.js.map +1 -0
- package/dist/cjs/track/getSimilar.js +11 -0
- package/dist/cjs/track/getSimilar.js.map +1 -0
- package/dist/cjs/track/getTags.js +11 -0
- package/dist/cjs/track/getTags.js.map +1 -0
- package/dist/cjs/track/getTopTags.js +11 -0
- package/dist/cjs/track/getTopTags.js.map +1 -0
- package/dist/cjs/track/love.js +9 -0
- package/dist/cjs/track/love.js.map +1 -0
- package/dist/cjs/track/removeTag.js +9 -0
- package/dist/cjs/track/removeTag.js.map +1 -0
- package/dist/cjs/track/scrobble.js +9 -0
- package/dist/cjs/track/scrobble.js.map +1 -0
- package/dist/cjs/track/search.js +11 -0
- package/dist/cjs/track/search.js.map +1 -0
- package/dist/cjs/track/unlove.js +9 -0
- package/dist/cjs/track/unlove.js.map +1 -0
- package/dist/cjs/track/updateNowPlaying.js +9 -0
- package/dist/cjs/track/updateNowPlaying.js.map +1 -0
- package/dist/cjs/user/getPersonalTags.js +11 -0
- package/dist/cjs/user/getPersonalTags.js.map +1 -0
- package/dist/createOptions.js +13 -1
- package/dist/createOptions.js.map +1 -1
- package/dist/geo/getTopArtists.js +5 -0
- package/dist/geo/getTopArtists.js.map +1 -0
- package/dist/geo/getTopTracks.js +5 -0
- package/dist/geo/getTopTracks.js.map +1 -0
- package/dist/getFriends.js +13 -0
- package/dist/getFriends.js.map +1 -0
- package/dist/getUserTopTags.js +13 -0
- package/dist/getUserTopTags.js.map +1 -0
- package/dist/index.js +108 -0
- package/dist/index.js.map +1 -1
- package/dist/lastfm.types.js.map +1 -1
- package/dist/library/getArtists.js +5 -0
- package/dist/library/getArtists.js.map +1 -0
- package/dist/md5.js +77 -0
- package/dist/md5.js.map +1 -0
- package/dist/method.js +58 -1
- package/dist/method.js.map +1 -1
- package/dist/request.js +102 -0
- package/dist/request.js.map +1 -1
- package/dist/tag/getInfo.js +5 -0
- package/dist/tag/getInfo.js.map +1 -0
- package/dist/tag/getSimilar.js +5 -0
- package/dist/tag/getSimilar.js.map +1 -0
- package/dist/tag/getTopAlbums.js +5 -0
- package/dist/tag/getTopAlbums.js.map +1 -0
- package/dist/tag/getTopArtists.js +5 -0
- package/dist/tag/getTopArtists.js.map +1 -0
- package/dist/tag/getTopTags.js +5 -0
- package/dist/tag/getTopTags.js.map +1 -0
- package/dist/tag/getWeeklyChartList.js +5 -0
- package/dist/tag/getWeeklyChartList.js.map +1 -0
- package/dist/tag/topTracks.js +11 -0
- package/dist/tag/topTracks.js.map +1 -0
- package/dist/track/addTags.js +6 -0
- package/dist/track/addTags.js.map +1 -0
- package/dist/track/getCorrection.js +5 -0
- package/dist/track/getCorrection.js.map +1 -0
- package/dist/track/getInfo.js +5 -0
- package/dist/track/getInfo.js.map +1 -0
- package/dist/track/getSimilar.js +5 -0
- package/dist/track/getSimilar.js.map +1 -0
- package/dist/track/getTags.js +5 -0
- package/dist/track/getTags.js.map +1 -0
- package/dist/track/getTopTags.js +5 -0
- package/dist/track/getTopTags.js.map +1 -0
- package/dist/track/love.js +6 -0
- package/dist/track/love.js.map +1 -0
- package/dist/track/removeTag.js +6 -0
- package/dist/track/removeTag.js.map +1 -0
- package/dist/track/scrobble.js +6 -0
- package/dist/track/scrobble.js.map +1 -0
- package/dist/track/search.js +5 -0
- package/dist/track/search.js.map +1 -0
- package/dist/track/unlove.js +6 -0
- package/dist/track/unlove.js.map +1 -0
- package/dist/track/updateNowPlaying.js +6 -0
- package/dist/track/updateNowPlaying.js.map +1 -0
- package/dist/user/getPersonalTags.js +5 -0
- package/dist/user/getPersonalTags.js.map +1 -0
- package/package.json +13 -10
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
export declare function createOptions(method: string, user: string, period?: string, limit?: string, page?: string, from?: string): {
|
|
1
|
+
export declare function createOptions(method: string, user: string, period?: string, limit?: string, page?: string, from?: string, tag?: string, artist?: string, album?: string, track?: string, country?: string, autocorrect?: string, mbid?: string, lang?: string, sk?: string, token?: string, tags?: string, timestamp?: string): {
|
|
2
2
|
method: string;
|
|
3
3
|
page: string | undefined;
|
|
4
4
|
user: string;
|
|
5
|
+
tag: string | undefined;
|
|
5
6
|
period: string | undefined;
|
|
6
7
|
limit: string | undefined;
|
|
7
8
|
from: string | undefined;
|
|
9
|
+
artist: string | undefined;
|
|
10
|
+
album: string | undefined;
|
|
11
|
+
track: string | undefined;
|
|
12
|
+
country: string | undefined;
|
|
13
|
+
autocorrect: string | undefined;
|
|
14
|
+
mbid: string | undefined;
|
|
15
|
+
lang: string | undefined;
|
|
16
|
+
sk: string | undefined;
|
|
17
|
+
token: string | undefined;
|
|
18
|
+
tags: string | undefined;
|
|
19
|
+
timestamp: string | undefined;
|
|
8
20
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FriendsResponse } from './lastfm.types.js';
|
|
2
|
+
/**
|
|
3
|
+
* GET: Friends - LastFM
|
|
4
|
+
*
|
|
5
|
+
* https://www.last.fm/api/show/user.getFriends
|
|
6
|
+
* @returns Friends of a user
|
|
7
|
+
*/
|
|
8
|
+
export declare function getFriends(method: string, user: string, limit: string): Promise<FriendsResponse>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UserTopTagsResponse } from './lastfm.types.js';
|
|
2
|
+
/**
|
|
3
|
+
* GET: User Top Tags - LastFM
|
|
4
|
+
*
|
|
5
|
+
* https://www.last.fm/api/show/user.getTopTags
|
|
6
|
+
* @returns Top Tags for a user
|
|
7
|
+
*/
|
|
8
|
+
export declare function getUserTopTags(method: string, user: string, limit: string): Promise<UserTopTagsResponse>;
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { auth } from './auth.js';
|
|
2
|
+
import { getFriends } from './getFriends.js';
|
|
2
3
|
import { getInfo } from './getInfo.js';
|
|
3
4
|
import { getLovedTracks } from './getLovedTracks.js';
|
|
4
5
|
import { getRecentTracks } from './getRecentTracks.js';
|
|
5
6
|
import { getTopAlbums } from './getTopAlbums.js';
|
|
6
7
|
import { getTopArtists } from './getTopArtists.js';
|
|
8
|
+
import { getUserTopTags } from './getUserTopTags.js';
|
|
7
9
|
import { getTopTracks } from './getTopTracks.js';
|
|
8
10
|
import { getWeeklyAlbumChart } from './getWeeklyAlbumChart.js';
|
|
9
11
|
import { getWeeklyArtistChart } from './getWeeklyArtistChart.js';
|
|
@@ -12,13 +14,109 @@ import { getWeeklyTrackChart } from './getWeeklyTrackChart.js';
|
|
|
12
14
|
import { chartTopTags } from './chart/topTags.js';
|
|
13
15
|
import { chartTopTracks } from './chart/topTracks.js';
|
|
14
16
|
import { chartTopArtists } from './chart/topArtists.js';
|
|
17
|
+
import { tagTopTracks } from './tag/topTracks.js';
|
|
18
|
+
import { albumGetInfo } from './album/getInfo.js';
|
|
19
|
+
import { albumGetTags } from './album/getTags.js';
|
|
20
|
+
import { albumGetTopTags } from './album/getTopTags.js';
|
|
21
|
+
import { albumSearch } from './album/search.js';
|
|
22
|
+
import { albumAddTags } from './album/addTags.js';
|
|
23
|
+
import { albumRemoveTag } from './album/removeTag.js';
|
|
24
|
+
import { artistGetCorrection } from './artist/getCorrection.js';
|
|
25
|
+
import { artistGetInfo } from './artist/getInfo.js';
|
|
26
|
+
import { artistGetSimilar } from './artist/getSimilar.js';
|
|
27
|
+
import { artistGetTags } from './artist/getTags.js';
|
|
28
|
+
import { artistGetTopAlbums } from './artist/getTopAlbums.js';
|
|
29
|
+
import { artistGetTopTags } from './artist/getTopTags.js';
|
|
30
|
+
import { artistGetTopTracks } from './artist/getTopTracks.js';
|
|
31
|
+
import { artistSearch } from './artist/search.js';
|
|
32
|
+
import { artistAddTags } from './artist/addTags.js';
|
|
33
|
+
import { artistRemoveTag } from './artist/removeTag.js';
|
|
34
|
+
import { authGetMobileSession } from './auth/getMobileSession.js';
|
|
35
|
+
import { authGetSession } from './auth/getSession.js';
|
|
36
|
+
import { geoGetTopArtists } from './geo/getTopArtists.js';
|
|
37
|
+
import { geoGetTopTracks } from './geo/getTopTracks.js';
|
|
38
|
+
import { libraryGetArtists } from './library/getArtists.js';
|
|
39
|
+
import { tagGetInfo } from './tag/getInfo.js';
|
|
40
|
+
import { tagGetSimilar } from './tag/getSimilar.js';
|
|
41
|
+
import { tagGetTopAlbums } from './tag/getTopAlbums.js';
|
|
42
|
+
import { tagGetTopArtists } from './tag/getTopArtists.js';
|
|
43
|
+
import { tagGetTopTags } from './tag/getTopTags.js';
|
|
44
|
+
import { tagGetWeeklyChartList } from './tag/getWeeklyChartList.js';
|
|
45
|
+
import { trackGetCorrection } from './track/getCorrection.js';
|
|
46
|
+
import { trackGetInfo } from './track/getInfo.js';
|
|
47
|
+
import { trackGetSimilar } from './track/getSimilar.js';
|
|
48
|
+
import { trackGetTags } from './track/getTags.js';
|
|
49
|
+
import { trackGetTopTags } from './track/getTopTags.js';
|
|
50
|
+
import { trackSearch } from './track/search.js';
|
|
51
|
+
import { trackLove } from './track/love.js';
|
|
52
|
+
import { trackUnlove } from './track/unlove.js';
|
|
53
|
+
import { trackAddTags } from './track/addTags.js';
|
|
54
|
+
import { trackRemoveTag } from './track/removeTag.js';
|
|
55
|
+
import { trackScrobble } from './track/scrobble.js';
|
|
56
|
+
import { trackUpdateNowPlaying } from './track/updateNowPlaying.js';
|
|
57
|
+
import { userGetPersonalTags } from './user/getPersonalTags.js';
|
|
15
58
|
declare const LastFmApi: () => {
|
|
16
59
|
auth: typeof auth;
|
|
60
|
+
album: {
|
|
61
|
+
albumGetInfo: typeof albumGetInfo;
|
|
62
|
+
albumGetTags: typeof albumGetTags;
|
|
63
|
+
albumGetTopTags: typeof albumGetTopTags;
|
|
64
|
+
albumSearch: typeof albumSearch;
|
|
65
|
+
albumAddTags: typeof albumAddTags;
|
|
66
|
+
albumRemoveTag: typeof albumRemoveTag;
|
|
67
|
+
};
|
|
68
|
+
artist: {
|
|
69
|
+
artistGetCorrection: typeof artistGetCorrection;
|
|
70
|
+
artistGetInfo: typeof artistGetInfo;
|
|
71
|
+
artistGetSimilar: typeof artistGetSimilar;
|
|
72
|
+
artistGetTags: typeof artistGetTags;
|
|
73
|
+
artistGetTopAlbums: typeof artistGetTopAlbums;
|
|
74
|
+
artistGetTopTags: typeof artistGetTopTags;
|
|
75
|
+
artistGetTopTracks: typeof artistGetTopTracks;
|
|
76
|
+
artistSearch: typeof artistSearch;
|
|
77
|
+
artistAddTags: typeof artistAddTags;
|
|
78
|
+
artistRemoveTag: typeof artistRemoveTag;
|
|
79
|
+
};
|
|
80
|
+
authGetMobileSession: typeof authGetMobileSession;
|
|
81
|
+
authGetSession: typeof authGetSession;
|
|
17
82
|
chart: {
|
|
18
83
|
chartTopArtists: typeof chartTopArtists;
|
|
19
84
|
chartTopTracks: typeof chartTopTracks;
|
|
20
85
|
chartTopTags: typeof chartTopTags;
|
|
21
86
|
};
|
|
87
|
+
geo: {
|
|
88
|
+
geoGetTopArtists: typeof geoGetTopArtists;
|
|
89
|
+
geoGetTopTracks: typeof geoGetTopTracks;
|
|
90
|
+
};
|
|
91
|
+
library: {
|
|
92
|
+
libraryGetArtists: typeof libraryGetArtists;
|
|
93
|
+
};
|
|
94
|
+
tag: {
|
|
95
|
+
tagTopTracks: typeof tagTopTracks;
|
|
96
|
+
tagGetInfo: typeof tagGetInfo;
|
|
97
|
+
tagGetSimilar: typeof tagGetSimilar;
|
|
98
|
+
tagGetTopAlbums: typeof tagGetTopAlbums;
|
|
99
|
+
tagGetTopArtists: typeof tagGetTopArtists;
|
|
100
|
+
tagGetTopTags: typeof tagGetTopTags;
|
|
101
|
+
tagGetWeeklyChartList: typeof tagGetWeeklyChartList;
|
|
102
|
+
};
|
|
103
|
+
track: {
|
|
104
|
+
trackGetCorrection: typeof trackGetCorrection;
|
|
105
|
+
trackGetInfo: typeof trackGetInfo;
|
|
106
|
+
trackGetSimilar: typeof trackGetSimilar;
|
|
107
|
+
trackGetTags: typeof trackGetTags;
|
|
108
|
+
trackGetTopTags: typeof trackGetTopTags;
|
|
109
|
+
trackSearch: typeof trackSearch;
|
|
110
|
+
trackLove: typeof trackLove;
|
|
111
|
+
trackUnlove: typeof trackUnlove;
|
|
112
|
+
trackAddTags: typeof trackAddTags;
|
|
113
|
+
trackRemoveTag: typeof trackRemoveTag;
|
|
114
|
+
trackScrobble: typeof trackScrobble;
|
|
115
|
+
trackUpdateNowPlaying: typeof trackUpdateNowPlaying;
|
|
116
|
+
};
|
|
117
|
+
user: {
|
|
118
|
+
userGetPersonalTags: typeof userGetPersonalTags;
|
|
119
|
+
};
|
|
22
120
|
config: {
|
|
23
121
|
api_key: string;
|
|
24
122
|
app_name: string;
|
|
@@ -30,29 +128,88 @@ declare const LastFmApi: () => {
|
|
|
30
128
|
share_secret: string;
|
|
31
129
|
username: string;
|
|
32
130
|
};
|
|
131
|
+
getFriends: typeof getFriends;
|
|
33
132
|
getInfo: typeof getInfo;
|
|
34
133
|
getLovedTracks: typeof getLovedTracks;
|
|
35
134
|
getRecentTracks: typeof getRecentTracks;
|
|
36
135
|
getTopAlbums: typeof getTopAlbums;
|
|
37
136
|
getTopArtists: typeof getTopArtists;
|
|
137
|
+
getUserTopTags: typeof getUserTopTags;
|
|
38
138
|
getTopTracks: typeof getTopTracks;
|
|
39
139
|
getWeeklyAlbumChart: typeof getWeeklyAlbumChart;
|
|
40
140
|
getWeeklyArtistChart: typeof getWeeklyArtistChart;
|
|
41
141
|
getWeeklyChartList: typeof getWeeklyChartList;
|
|
42
142
|
getWeeklyTrackChart: typeof getWeeklyTrackChart;
|
|
43
143
|
method: {
|
|
44
|
-
|
|
144
|
+
album: {
|
|
145
|
+
addTags: string;
|
|
146
|
+
getInfo: string;
|
|
147
|
+
getTags: string;
|
|
148
|
+
getTopTags: string;
|
|
149
|
+
removeTag: string;
|
|
150
|
+
search: string;
|
|
151
|
+
};
|
|
152
|
+
artist: {
|
|
153
|
+
addTags: string;
|
|
154
|
+
getCorrection: string;
|
|
155
|
+
getInfo: string;
|
|
156
|
+
getSimilar: string;
|
|
157
|
+
getTags: string;
|
|
158
|
+
getTopAlbums: string;
|
|
159
|
+
getTopTags: string;
|
|
160
|
+
getTopTracks: string;
|
|
161
|
+
removeTag: string;
|
|
162
|
+
search: string;
|
|
163
|
+
};
|
|
164
|
+
auth: {
|
|
165
|
+
getMobileSession: string;
|
|
166
|
+
getSession: string;
|
|
167
|
+
getToken: string;
|
|
168
|
+
};
|
|
45
169
|
chart: {
|
|
46
170
|
getTopTracks: string;
|
|
47
171
|
getTopTags: string;
|
|
48
172
|
getTopArtists: string;
|
|
49
173
|
};
|
|
174
|
+
geo: {
|
|
175
|
+
getTopArtists: string;
|
|
176
|
+
getTopTracks: string;
|
|
177
|
+
};
|
|
178
|
+
library: {
|
|
179
|
+
getArtists: string;
|
|
180
|
+
};
|
|
181
|
+
tag: {
|
|
182
|
+
getInfo: string;
|
|
183
|
+
getSimilar: string;
|
|
184
|
+
getTopAlbums: string;
|
|
185
|
+
getTopArtists: string;
|
|
186
|
+
getTopTags: string;
|
|
187
|
+
getTopTracks: string;
|
|
188
|
+
getWeeklyChartList: string;
|
|
189
|
+
};
|
|
190
|
+
track: {
|
|
191
|
+
addTags: string;
|
|
192
|
+
getCorrection: string;
|
|
193
|
+
getInfo: string;
|
|
194
|
+
getSimilar: string;
|
|
195
|
+
getTags: string;
|
|
196
|
+
getTopTags: string;
|
|
197
|
+
love: string;
|
|
198
|
+
removeTag: string;
|
|
199
|
+
scrobble: string;
|
|
200
|
+
search: string;
|
|
201
|
+
unlove: string;
|
|
202
|
+
updateNowPlaying: string;
|
|
203
|
+
};
|
|
50
204
|
user: {
|
|
205
|
+
getFriends: string;
|
|
51
206
|
getInfo: string;
|
|
52
207
|
getLovedTracks: string;
|
|
208
|
+
getPersonalTags: string;
|
|
53
209
|
getRecentTracks: string;
|
|
54
210
|
getTopAlbums: string;
|
|
55
211
|
getTopArtists: string;
|
|
212
|
+
getTopTags: string;
|
|
56
213
|
getTopTracks: string;
|
|
57
214
|
getWeeklyAlbumChart: string;
|
|
58
215
|
getWeeklyArtistChart: string;
|