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.
Files changed (244) hide show
  1. package/dist/@types/album/addTags.d.ts +2 -0
  2. package/dist/@types/album/getInfo.d.ts +2 -0
  3. package/dist/@types/album/getTags.d.ts +2 -0
  4. package/dist/@types/album/getTopTags.d.ts +2 -0
  5. package/dist/@types/album/removeTag.d.ts +2 -0
  6. package/dist/@types/album/search.d.ts +2 -0
  7. package/dist/@types/artist/addTags.d.ts +2 -0
  8. package/dist/@types/artist/getCorrection.d.ts +2 -0
  9. package/dist/@types/artist/getInfo.d.ts +2 -0
  10. package/dist/@types/artist/getSimilar.d.ts +2 -0
  11. package/dist/@types/artist/getTags.d.ts +2 -0
  12. package/dist/@types/artist/getTopAlbums.d.ts +2 -0
  13. package/dist/@types/artist/getTopTags.d.ts +2 -0
  14. package/dist/@types/artist/getTopTracks.d.ts +2 -0
  15. package/dist/@types/artist/removeTag.d.ts +2 -0
  16. package/dist/@types/artist/search.d.ts +2 -0
  17. package/dist/@types/auth/getMobileSession.d.ts +2 -0
  18. package/dist/@types/auth/getSession.d.ts +2 -0
  19. package/dist/@types/createOptions.d.ts +13 -1
  20. package/dist/@types/geo/getTopArtists.d.ts +2 -0
  21. package/dist/@types/geo/getTopTracks.d.ts +2 -0
  22. package/dist/@types/getFriends.d.ts +8 -0
  23. package/dist/@types/getUserTopTags.d.ts +8 -0
  24. package/dist/@types/index.d.ts +158 -1
  25. package/dist/@types/lastfm.types.d.ts +598 -2
  26. package/dist/@types/library/getArtists.d.ts +2 -0
  27. package/dist/@types/md5.d.ts +7 -0
  28. package/dist/@types/method.d.ts +123 -2
  29. package/dist/@types/request.d.ts +16 -0
  30. package/dist/@types/tag/getInfo.d.ts +2 -0
  31. package/dist/@types/tag/getSimilar.d.ts +2 -0
  32. package/dist/@types/tag/getTopAlbums.d.ts +2 -0
  33. package/dist/@types/tag/getTopArtists.d.ts +2 -0
  34. package/dist/@types/tag/getTopTags.d.ts +2 -0
  35. package/dist/@types/tag/getWeeklyChartList.d.ts +2 -0
  36. package/dist/@types/tag/topTracks.d.ts +8 -0
  37. package/dist/@types/track/addTags.d.ts +2 -0
  38. package/dist/@types/track/getCorrection.d.ts +2 -0
  39. package/dist/@types/track/getInfo.d.ts +2 -0
  40. package/dist/@types/track/getSimilar.d.ts +2 -0
  41. package/dist/@types/track/getTags.d.ts +2 -0
  42. package/dist/@types/track/getTopTags.d.ts +2 -0
  43. package/dist/@types/track/love.d.ts +2 -0
  44. package/dist/@types/track/removeTag.d.ts +2 -0
  45. package/dist/@types/track/scrobble.d.ts +2 -0
  46. package/dist/@types/track/search.d.ts +2 -0
  47. package/dist/@types/track/unlove.d.ts +2 -0
  48. package/dist/@types/track/updateNowPlaying.d.ts +2 -0
  49. package/dist/@types/user/getPersonalTags.d.ts +2 -0
  50. package/dist/album/addTags.js +6 -0
  51. package/dist/album/addTags.js.map +1 -0
  52. package/dist/album/getInfo.js +5 -0
  53. package/dist/album/getInfo.js.map +1 -0
  54. package/dist/album/getTags.js +5 -0
  55. package/dist/album/getTags.js.map +1 -0
  56. package/dist/album/getTopTags.js +5 -0
  57. package/dist/album/getTopTags.js.map +1 -0
  58. package/dist/album/removeTag.js +6 -0
  59. package/dist/album/removeTag.js.map +1 -0
  60. package/dist/album/search.js +5 -0
  61. package/dist/album/search.js.map +1 -0
  62. package/dist/artist/addTags.js +6 -0
  63. package/dist/artist/addTags.js.map +1 -0
  64. package/dist/artist/getCorrection.js +5 -0
  65. package/dist/artist/getCorrection.js.map +1 -0
  66. package/dist/artist/getInfo.js +5 -0
  67. package/dist/artist/getInfo.js.map +1 -0
  68. package/dist/artist/getSimilar.js +5 -0
  69. package/dist/artist/getSimilar.js.map +1 -0
  70. package/dist/artist/getTags.js +5 -0
  71. package/dist/artist/getTags.js.map +1 -0
  72. package/dist/artist/getTopAlbums.js +5 -0
  73. package/dist/artist/getTopAlbums.js.map +1 -0
  74. package/dist/artist/getTopTags.js +5 -0
  75. package/dist/artist/getTopTags.js.map +1 -0
  76. package/dist/artist/getTopTracks.js +5 -0
  77. package/dist/artist/getTopTracks.js.map +1 -0
  78. package/dist/artist/removeTag.js +6 -0
  79. package/dist/artist/removeTag.js.map +1 -0
  80. package/dist/artist/search.js +5 -0
  81. package/dist/artist/search.js.map +1 -0
  82. package/dist/auth/getMobileSession.js +6 -0
  83. package/dist/auth/getMobileSession.js.map +1 -0
  84. package/dist/auth/getSession.js +6 -0
  85. package/dist/auth/getSession.js.map +1 -0
  86. package/dist/cjs/album/addTags.js +9 -0
  87. package/dist/cjs/album/addTags.js.map +1 -0
  88. package/dist/cjs/album/getInfo.js +11 -0
  89. package/dist/cjs/album/getInfo.js.map +1 -0
  90. package/dist/cjs/album/getTags.js +11 -0
  91. package/dist/cjs/album/getTags.js.map +1 -0
  92. package/dist/cjs/album/getTopTags.js +11 -0
  93. package/dist/cjs/album/getTopTags.js.map +1 -0
  94. package/dist/cjs/album/removeTag.js +9 -0
  95. package/dist/cjs/album/removeTag.js.map +1 -0
  96. package/dist/cjs/album/search.js +11 -0
  97. package/dist/cjs/album/search.js.map +1 -0
  98. package/dist/cjs/artist/addTags.js +9 -0
  99. package/dist/cjs/artist/addTags.js.map +1 -0
  100. package/dist/cjs/artist/getCorrection.js +11 -0
  101. package/dist/cjs/artist/getCorrection.js.map +1 -0
  102. package/dist/cjs/artist/getInfo.js +11 -0
  103. package/dist/cjs/artist/getInfo.js.map +1 -0
  104. package/dist/cjs/artist/getSimilar.js +11 -0
  105. package/dist/cjs/artist/getSimilar.js.map +1 -0
  106. package/dist/cjs/artist/getTags.js +11 -0
  107. package/dist/cjs/artist/getTags.js.map +1 -0
  108. package/dist/cjs/artist/getTopAlbums.js +11 -0
  109. package/dist/cjs/artist/getTopAlbums.js.map +1 -0
  110. package/dist/cjs/artist/getTopTags.js +11 -0
  111. package/dist/cjs/artist/getTopTags.js.map +1 -0
  112. package/dist/cjs/artist/getTopTracks.js +11 -0
  113. package/dist/cjs/artist/getTopTracks.js.map +1 -0
  114. package/dist/cjs/artist/removeTag.js +9 -0
  115. package/dist/cjs/artist/removeTag.js.map +1 -0
  116. package/dist/cjs/artist/search.js +11 -0
  117. package/dist/cjs/artist/search.js.map +1 -0
  118. package/dist/cjs/auth/getMobileSession.js +9 -0
  119. package/dist/cjs/auth/getMobileSession.js.map +1 -0
  120. package/dist/cjs/auth/getSession.js +9 -0
  121. package/dist/cjs/auth/getSession.js.map +1 -0
  122. package/dist/cjs/createOptions.js +13 -1
  123. package/dist/cjs/createOptions.js.map +1 -1
  124. package/dist/cjs/geo/getTopArtists.js +11 -0
  125. package/dist/cjs/geo/getTopArtists.js.map +1 -0
  126. package/dist/cjs/geo/getTopTracks.js +11 -0
  127. package/dist/cjs/geo/getTopTracks.js.map +1 -0
  128. package/dist/cjs/getFriends.js +19 -0
  129. package/dist/cjs/getFriends.js.map +1 -0
  130. package/dist/cjs/getUserTopTags.js +19 -0
  131. package/dist/cjs/getUserTopTags.js.map +1 -0
  132. package/dist/cjs/index.js +108 -0
  133. package/dist/cjs/index.js.map +1 -1
  134. package/dist/cjs/lastfm.types.js.map +1 -1
  135. package/dist/cjs/library/getArtists.js +11 -0
  136. package/dist/cjs/library/getArtists.js.map +1 -0
  137. package/dist/cjs/md5.js +80 -0
  138. package/dist/cjs/md5.js.map +1 -0
  139. package/dist/cjs/method.js +58 -1
  140. package/dist/cjs/method.js.map +1 -1
  141. package/dist/cjs/request.js +104 -0
  142. package/dist/cjs/request.js.map +1 -1
  143. package/dist/cjs/tag/getInfo.js +11 -0
  144. package/dist/cjs/tag/getInfo.js.map +1 -0
  145. package/dist/cjs/tag/getSimilar.js +11 -0
  146. package/dist/cjs/tag/getSimilar.js.map +1 -0
  147. package/dist/cjs/tag/getTopAlbums.js +11 -0
  148. package/dist/cjs/tag/getTopAlbums.js.map +1 -0
  149. package/dist/cjs/tag/getTopArtists.js +11 -0
  150. package/dist/cjs/tag/getTopArtists.js.map +1 -0
  151. package/dist/cjs/tag/getTopTags.js +11 -0
  152. package/dist/cjs/tag/getTopTags.js.map +1 -0
  153. package/dist/cjs/tag/getWeeklyChartList.js +11 -0
  154. package/dist/cjs/tag/getWeeklyChartList.js.map +1 -0
  155. package/dist/cjs/tag/topTracks.js +17 -0
  156. package/dist/cjs/tag/topTracks.js.map +1 -0
  157. package/dist/cjs/track/addTags.js +9 -0
  158. package/dist/cjs/track/addTags.js.map +1 -0
  159. package/dist/cjs/track/getCorrection.js +11 -0
  160. package/dist/cjs/track/getCorrection.js.map +1 -0
  161. package/dist/cjs/track/getInfo.js +11 -0
  162. package/dist/cjs/track/getInfo.js.map +1 -0
  163. package/dist/cjs/track/getSimilar.js +11 -0
  164. package/dist/cjs/track/getSimilar.js.map +1 -0
  165. package/dist/cjs/track/getTags.js +11 -0
  166. package/dist/cjs/track/getTags.js.map +1 -0
  167. package/dist/cjs/track/getTopTags.js +11 -0
  168. package/dist/cjs/track/getTopTags.js.map +1 -0
  169. package/dist/cjs/track/love.js +9 -0
  170. package/dist/cjs/track/love.js.map +1 -0
  171. package/dist/cjs/track/removeTag.js +9 -0
  172. package/dist/cjs/track/removeTag.js.map +1 -0
  173. package/dist/cjs/track/scrobble.js +9 -0
  174. package/dist/cjs/track/scrobble.js.map +1 -0
  175. package/dist/cjs/track/search.js +11 -0
  176. package/dist/cjs/track/search.js.map +1 -0
  177. package/dist/cjs/track/unlove.js +9 -0
  178. package/dist/cjs/track/unlove.js.map +1 -0
  179. package/dist/cjs/track/updateNowPlaying.js +9 -0
  180. package/dist/cjs/track/updateNowPlaying.js.map +1 -0
  181. package/dist/cjs/user/getPersonalTags.js +11 -0
  182. package/dist/cjs/user/getPersonalTags.js.map +1 -0
  183. package/dist/createOptions.js +13 -1
  184. package/dist/createOptions.js.map +1 -1
  185. package/dist/geo/getTopArtists.js +5 -0
  186. package/dist/geo/getTopArtists.js.map +1 -0
  187. package/dist/geo/getTopTracks.js +5 -0
  188. package/dist/geo/getTopTracks.js.map +1 -0
  189. package/dist/getFriends.js +13 -0
  190. package/dist/getFriends.js.map +1 -0
  191. package/dist/getUserTopTags.js +13 -0
  192. package/dist/getUserTopTags.js.map +1 -0
  193. package/dist/index.js +108 -0
  194. package/dist/index.js.map +1 -1
  195. package/dist/lastfm.types.js.map +1 -1
  196. package/dist/library/getArtists.js +5 -0
  197. package/dist/library/getArtists.js.map +1 -0
  198. package/dist/md5.js +77 -0
  199. package/dist/md5.js.map +1 -0
  200. package/dist/method.js +58 -1
  201. package/dist/method.js.map +1 -1
  202. package/dist/request.js +102 -0
  203. package/dist/request.js.map +1 -1
  204. package/dist/tag/getInfo.js +5 -0
  205. package/dist/tag/getInfo.js.map +1 -0
  206. package/dist/tag/getSimilar.js +5 -0
  207. package/dist/tag/getSimilar.js.map +1 -0
  208. package/dist/tag/getTopAlbums.js +5 -0
  209. package/dist/tag/getTopAlbums.js.map +1 -0
  210. package/dist/tag/getTopArtists.js +5 -0
  211. package/dist/tag/getTopArtists.js.map +1 -0
  212. package/dist/tag/getTopTags.js +5 -0
  213. package/dist/tag/getTopTags.js.map +1 -0
  214. package/dist/tag/getWeeklyChartList.js +5 -0
  215. package/dist/tag/getWeeklyChartList.js.map +1 -0
  216. package/dist/tag/topTracks.js +11 -0
  217. package/dist/tag/topTracks.js.map +1 -0
  218. package/dist/track/addTags.js +6 -0
  219. package/dist/track/addTags.js.map +1 -0
  220. package/dist/track/getCorrection.js +5 -0
  221. package/dist/track/getCorrection.js.map +1 -0
  222. package/dist/track/getInfo.js +5 -0
  223. package/dist/track/getInfo.js.map +1 -0
  224. package/dist/track/getSimilar.js +5 -0
  225. package/dist/track/getSimilar.js.map +1 -0
  226. package/dist/track/getTags.js +5 -0
  227. package/dist/track/getTags.js.map +1 -0
  228. package/dist/track/getTopTags.js +5 -0
  229. package/dist/track/getTopTags.js.map +1 -0
  230. package/dist/track/love.js +6 -0
  231. package/dist/track/love.js.map +1 -0
  232. package/dist/track/removeTag.js +6 -0
  233. package/dist/track/removeTag.js.map +1 -0
  234. package/dist/track/scrobble.js +6 -0
  235. package/dist/track/scrobble.js.map +1 -0
  236. package/dist/track/search.js +5 -0
  237. package/dist/track/search.js.map +1 -0
  238. package/dist/track/unlove.js +6 -0
  239. package/dist/track/unlove.js.map +1 -0
  240. package/dist/track/updateNowPlaying.js +6 -0
  241. package/dist/track/updateNowPlaying.js.map +1 -0
  242. package/dist/user/getPersonalTags.js +5 -0
  243. package/dist/user/getPersonalTags.js.map +1 -0
  244. package/package.json +13 -10
@@ -0,0 +1,2 @@
1
+ import type { AuthResponse } from '../lastfm.types.js';
2
+ export declare function albumAddTags(method: string, artist: string, album: string, tags: string, sk: string): Promise<AuthResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AlbumInfoResponse } from '../lastfm.types.js';
2
+ export declare function albumGetInfo(method: string, artist: string, album: string, autocorrect?: string, lang?: string): Promise<AlbumInfoResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AlbumTagsResponse } from '../lastfm.types.js';
2
+ export declare function albumGetTags(method: string, artist: string, album: string, user: string, autocorrect?: string): Promise<AlbumTagsResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AlbumTopTagsResponse } from '../lastfm.types.js';
2
+ export declare function albumGetTopTags(method: string, artist: string, album: string, autocorrect?: string): Promise<AlbumTopTagsResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AuthResponse } from '../lastfm.types.js';
2
+ export declare function albumRemoveTag(method: string, artist: string, album: string, tag: string, sk: string): Promise<AuthResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AlbumSearchResponse } from '../lastfm.types.js';
2
+ export declare function albumSearch(method: string, album: string, limit?: string, page?: string): Promise<AlbumSearchResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AuthResponse } from '../lastfm.types.js';
2
+ export declare function artistAddTags(method: string, artist: string, tags: string, sk: string): Promise<AuthResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistCorrectionResponse } from '../lastfm.types.js';
2
+ export declare function artistGetCorrection(method: string, artist: string): Promise<ArtistCorrectionResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistInfoResponse } from '../lastfm.types.js';
2
+ export declare function artistGetInfo(method: string, artist: string, autocorrect?: string, lang?: string): Promise<ArtistInfoResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistSimilarResponse } from '../lastfm.types.js';
2
+ export declare function artistGetSimilar(method: string, artist: string, limit?: string, autocorrect?: string): Promise<ArtistSimilarResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistTagsResponse } from '../lastfm.types.js';
2
+ export declare function artistGetTags(method: string, artist: string, user: string, autocorrect?: string): Promise<ArtistTagsResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistTopAlbumsResponse } from '../lastfm.types.js';
2
+ export declare function artistGetTopAlbums(method: string, artist: string, limit?: string, page?: string, autocorrect?: string): Promise<ArtistTopAlbumsResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistTopTagsResponse } from '../lastfm.types.js';
2
+ export declare function artistGetTopTags(method: string, artist: string, autocorrect?: string): Promise<ArtistTopTagsResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistTopTracksResponse } from '../lastfm.types.js';
2
+ export declare function artistGetTopTracks(method: string, artist: string, limit?: string, page?: string, autocorrect?: string): Promise<ArtistTopTracksResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AuthResponse } from '../lastfm.types.js';
2
+ export declare function artistRemoveTag(method: string, artist: string, tag: string, sk: string): Promise<AuthResponse>;
@@ -0,0 +1,2 @@
1
+ import type { ArtistSearchResponse } from '../lastfm.types.js';
2
+ export declare function artistSearch(method: string, artist: string, limit?: string, page?: string): Promise<ArtistSearchResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AuthMobileSessionResponse } from '../lastfm.types.js';
2
+ export declare function authGetMobileSession(method: string, username: string, password: string): Promise<AuthMobileSessionResponse>;
@@ -0,0 +1,2 @@
1
+ import type { AuthSessionResponse } from '../lastfm.types.js';
2
+ export declare function authGetSession(method: string, token: string): Promise<AuthSessionResponse>;
@@ -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,2 @@
1
+ import type { GeoTopArtistsResponse } from '../lastfm.types.js';
2
+ export declare function geoGetTopArtists(method: string, country: string, limit?: string, page?: string): Promise<GeoTopArtistsResponse>;
@@ -0,0 +1,2 @@
1
+ import type { GeoTopTracksResponse } from '../lastfm.types.js';
2
+ export declare function geoGetTopTracks(method: string, country: string, limit?: string, page?: string): Promise<GeoTopTracksResponse>;
@@ -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>;
@@ -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
- auth: string;
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;