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

https://github.com/officialpiyush/lyriks.js

A lyrics scraping api for nodejs
https://github.com/officialpiyush/lyriks.js

api azlyrics lyrics music musixmatch nodejs scraping song

Last synced: 4 months ago
JSON representation

A lyrics scraping api for nodejs

Awesome Lists containing this project

README

        








Discord


Downloads


Npm version



Github stars


License



## Installation

**NPM** :

```bash
npm install lyriks.js
```

**Yarn** :

```bash
yarn add lyriks.js
```

## Example usage

```js
const { LyriksClient } = require("lyriks.js")

const lyriksClient = new LyriksClient()

// Promise based
lyriksClient.getLyrics("dynamite").then(lyrik => {
if(!lyrik) throw "No data found"
// You can access the data using the following functions
const author = lyrik.getAuthor()
const title = lyrik.getAuthor()
const source = lyrik.getSource()
const search = lyrik.getSearch()
const url = lyrik.getURL()
const lyrics = lyrik.getContent() // or getLyrics() or getLyriks() also works :p

// Do stuff with the above data
})
```

## Contributors

👤 **Piyush**

- Author
- Website:
- Github: [@officialpiyush](https://github.com/officialpiyush)