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
- Host: GitHub
- URL: https://github.com/mo7ammedd/getsonglyrics
- Owner: Mo7ammedd
- License: mit
- Created: 2024-05-12T19:51:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-12T22:35:46.000Z (over 1 year ago)
- Last Synced: 2025-03-29T03:32:15.881Z (8 months ago)
- Topics: api, express, fetch, genius-api, javascript, lyrics-fetcher
- Language: JavaScript
- Homepage: https://getsongslyrics.onrender.com
- Size: 21.5 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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```