aboutsummaryrefslogtreecommitdiff
path: root/node_modules/genius-lyrics/dist/Artists/Client.d.ts
blob: 86d6a7c072cf78b005ec81940bf49d15260708bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Client } from "../Client";
import { Artist } from "./Artist";
export declare class ArtistsClient {
    readonly client: Client;
    /**
     * @example const ArtistsClient = await Genius.Artist.Client(key);
     */
    constructor(client: Client);
    /**
     * Fetches the Artist using the provided ID (Requires Key)
     * @example const Artist = await ArtistsClient.get(456537);
     */
    get(id: number): Promise<Artist>;
}