blob: 11318988bf52fc3dfd3d237b2ac599764f823e55 (
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>;
}
|