[PR #55] [MERGED] Add new 'raw' option to the format parameter and update readme #139

Closed
opened 2026-03-13 21:17:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/akashrchandran/spotify-lyrics-api/pull/55
Author: @essteec
Created: 12/25/2025
Status: Merged
Merged: 12/26/2025
Merged by: @akashrchandran

Base: mainHead: feature/raw-lyrics-format


📝 Commits (1)

  • cc8e45c Add raw lyrics format and update readme

📊 Changes

3 files changed (+20 additions, -4 deletions)

View changed files

📝 README.md (+3 -3)
📝 api/index.php (+2 -1)
📝 src/Spotify.php (+15 -0)

📄 Description

Summary

I added a new option called raw for the format parameter. This allows users to get the lyrics as one simple block of text instead of a list of timed lines.

What's New

  • New Format: You can now use ?format=raw to get plain text lyrics.
  • Updated README.md: I updated the README.md for the new raw format and to include minor improvements.

How it looks

If you request ?format=raw, the response now looks like this:
{
"error": false,
"syncType": "LINE_SYNCED",
"lines": "First line of the song\nSecond line of the song..."
}


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/akashrchandran/spotify-lyrics-api/pull/55 **Author:** [@essteec](https://github.com/essteec) **Created:** 12/25/2025 **Status:** ✅ Merged **Merged:** 12/26/2025 **Merged by:** [@akashrchandran](https://github.com/akashrchandran) **Base:** `main` ← **Head:** `feature/raw-lyrics-format` --- ### 📝 Commits (1) - [`cc8e45c`](https://github.com/akashrchandran/spotify-lyrics-api/commit/cc8e45c4bd3d1cc19472ecda834aed6d25527b52) Add raw lyrics format and update readme ### 📊 Changes **3 files changed** (+20 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -3) 📝 `api/index.php` (+2 -1) 📝 `src/Spotify.php` (+15 -0) </details> ### 📄 Description ## Summary I added a new option called `raw` for the `format` parameter. This allows users to get the lyrics as one simple block of text instead of a list of timed lines. ## What's New - **New Format**: You can now use `?format=raw` to get plain text lyrics. - **Updated README.md**: I updated the README.md for the new raw format and to include minor improvements. ## How it looks If you request `?format=raw`, the response now looks like this: { "error": false, "syncType": "LINE_SYNCED", "lines": "First line of the song\nSecond line of the song..." } --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-13 21:17:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-lyrics-api#139
No description provided.