UNPKG

@musicorum/lastfm

Version:

Fully typed [Last.fm](https://last.fm) api client library written and made for Typescript!

9 lines (8 loc) 443 B
import { LastClient } from '../LastClient.js'; import { GetFormattedResponse, LastfmResponses } from '../types/responses.js'; import { LastfmAlbumInfoParams } from '../types/packages/album.js'; export declare class Album { private client; constructor(client: LastClient); getInfo(albumName: string, artistName: string, params?: LastfmAlbumInfoParams): Promise<GetFormattedResponse<LastfmResponses['album.getInfo']> | undefined>; }