An open API service indexing awesome lists of open source software.

https://github.com/prajjwaldatir/lyrics-monarch-api

fetches lyrics of a song using get parameters
https://github.com/prajjwaldatir/lyrics-monarch-api

Last synced: 6 months ago
JSON representation

fetches lyrics of a song using get parameters

Awesome Lists containing this project

README

          

# lyrics-monarch-api
Fetches lyrics of a song using matching terms.

## Methods
```javascript
getLyrics(term)
```
## For Javascript:
```Javascript
const Lyrics = require('lyrics-monarch-api');
const lyrics = new Lyrics();
/**
* Example of the method getLyrics
*/
lyrics.getLyrics('Snap back to reality')
.then((response) => {
return console.log(response);
})
.catch((error) => {
return console.log(error);
})
```

## For Typescript
```Typescript
// @ts-ignore
import Lyrics from 'lyrics-monarch-api';
const lyrics = new Lyrics();
/**
* Example of the method getLyrics
*/
lyrics.getLyrics('Snap back to reality')
.then((response) => {
return console.log(response);
})
.catch((error) => {
return console.log(error);
})
```