1.0.1 • Published 4 years ago
node-lyrics-api v1.0.1
node-lyrics-api
Grab lyrics for any song.
Simply a wrapper around the api located here, so visit there for more information on the API itself.
This is a simple API to work with.
const lyrics = require('node-lyrics-api');
let ourSong = await lyrics('our song');
if(ourSong.status.failed) return console.log('Bad Response');
// show our data
console.log(ourSong.content[0].lyrics);
// or
lyrics('our song').then(l => console.log(l.content[0].lyrics));