Content-Length: 317844 | pFad | http://github.com/zyrouge/node-genius-lyrics/tree/v4.3.6

77 GitHub - zyrouge/node-genius-lyrics at v4.3.6
Skip to content

zyrouge/node-genius-lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genius Lyrics 🎡

npm npm npm FOSSA Status Documentation

πŸ€” Whats is this?

Just a simple lyrics fetcher that uses Genius. This also has official API implementations.

πŸ’» Installation

npm install genius-lyrics

βš™οΈ Usage

const Genius = require("genius-lyrics");
const Client = new Genius.Client("top-secret-optional-key");

πŸ“Ž Links

✏️ Examples

Requiring

JavaScript

const Genius = require("genius-lyrics");
const Client = new Genius.Client("top-secret-optional-key"); // Scrapes if no key is provided

TypeScript

import Genius from "genius-lyrics";
const Client = new Genius.Client("top-secret-optional-key"); // Scrapes if no key is provided

Fetching a Song and Lyrics

const searches = await Client.songs.search("faded");

// Pick first one
const firstSong = searches[0];
console.log("About the Song:\n", firstSong, "\n");

// Ok lets get the lyrics
const lyrics = await firstSong.lyrics();
console.log("Lyrics of the Song:\n", lyrics, "\n");

Fetching an Artist

const artist = await Client.artists.get(456537);
console.log("About the Artist:\n", artist, "\n");









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/zyrouge/node-genius-lyrics/tree/v4.3.6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy