diff options
Diffstat (limited to 'node_modules/genius-lyrics/dist/Artists/Artist.d.ts')
-rw-r--r-- | node_modules/genius-lyrics/dist/Artists/Artist.d.ts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/node_modules/genius-lyrics/dist/Artists/Artist.d.ts b/node_modules/genius-lyrics/dist/Artists/Artist.d.ts new file mode 100644 index 0000000..34928e7 --- /dev/null +++ b/node_modules/genius-lyrics/dist/Artists/Artist.d.ts @@ -0,0 +1,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>; +} |