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

https://github.com/mo7ammedd/getsonglyrics

API to fetch lyrics from songs
https://github.com/mo7ammedd/getsonglyrics

api express fetch genius-api javascript lyrics-fetcher

Last synced: 8 months ago
JSON representation

API to fetch lyrics from songs

Awesome Lists containing this project

README

          

## Genius Lyrics API

This is a simple Express.js application that utilizes the Genius Lyrics API to retrieve lyrics for songs.

### Usage

1. **Install Dependencies** : ``` npm install express genius-lyrics-api dotenv```

## Set up Environment Variables

* Create a .env file in the root directory of your project and add your Genius API key like so: ```GENIUS_API_KEY=your_actual_api_key_here```

# Endpoints

## GET /lyrics

This endpoint retrieves lyrics for a given song title and artist name using the Genius API.
Parameters:
title : ``` (required): The title of the song```

artist : ```(required): The name of the artist```