UNPKG

@musicorum/lastfm

Version:

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

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