aboutsummaryrefslogtreecommitdiff
path: root/node_modules/genius-lyrics/dist/Artists/Client.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/genius-lyrics/dist/Artists/Client.d.ts')
-rw-r--r--node_modules/genius-lyrics/dist/Artists/Client.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/genius-lyrics/dist/Artists/Client.d.ts b/node_modules/genius-lyrics/dist/Artists/Client.d.ts
new file mode 100644
index 0000000..86d6a7c
--- /dev/null
+++ b/node_modules/genius-lyrics/dist/Artists/Client.d.ts
@@ -0,0 +1,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>;
+}