1.0.1 • Published 3 years ago

melody-api v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

melody-lyrics-api

This api fetches the lyrics of a song by its artist,title and part of lyrics.

Contributors

Alen Yohannan

Usage

CommonJS

const { Lyrics } = require('melody-api')

const app = new Lyrics();
app.getLyrics('roar katy perry').then((response) => {
    return console.log(response);
})
.catch((error) => {
    return console.log(error);
})

ESModule || TypeScript

import Lyrics from 'melody-api'

const app = new Lyrics();
app.getLyrics('roar katy perry').then((response) => {
    return console.log(response);
})
.catch((error) => {
    return console.log(error);
})