blob: 34928e7aa0356c49c7d8e1534f7068659f0aaf7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
import { Client } from "../Client";
export declare class Artist {
readonly client: Client;
partial: boolean;
name: string;
id: number;
url: string;
thumbnail: string;
image: string;
iq: number;
verified: {
normal: boolean;
meme: boolean;
};
socialmedia: {
facebook?: string;
twitter?: string;
};
raw: any;
constructor(client: Client, res: any, partial?: boolean);
/**
* Fetches the songs of the Artist (Requires Key)
* @example const Songs = await Artist.songs();
*/
songs(options?: {
sort?: string;
page?: number;
per_page?: number;
}): Promise<any>;
/**
* Fetches All Information about the Artist and updates all the existing Properties (Requires Key)
* @example const NewArtist = await Artist.fetch();
*/
fetch(): Promise<Artist>;
}
|