Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to Address Missing International Songs and Add a "Recommended Songs" Feature #127

Open
Matplayz-OG opened this issue Feb 3, 2025 · 1 comment

Comments

@Matplayz-OG
Copy link

Matplayz-OG commented Feb 3, 2025

Dear Sumit,

I hope this message finds you well. First and all, I want to express my gratitude for creating and maintaining the JioSaavn Unofficial API . It has been an incredibly useful tool for developers like me who are building music-related applications. The API provides access to a vast library of songs, albums, and playlists, enabling us to create engaging user experiences.

However, during my development process, I’ve encountered a couple of issues that I believe could significantly enhance the functionality and usability of the API if addressed. Below, I’ve outlined these concerns along with suggestions for improvement:

  1. Missing International Songs
    One of the key challenges I’ve faced while using the API is the absence of many international songs in the search results. While the API works flawlessly for Indian music (Bollywood, regional languages, etc.), it often fails to return results for popular international tracks or artists. For example:

Searching for global artists like Ed Sheeran , Taylor Swift , or The Weeknd yields either no results or incomplete metadata.
Many users of music applications today listen to a mix of Indian and international music, so this gap limits the overall user experience.
Suggested Solution:
Expand the song database : If possible, include international songs in the API's search results. This would make the API more versatile and appealing to a global audience.
Enhance metadata : Ensure that international songs return complete metadata, including artist names, album art, lyrics (if available), and high-quality download links.
Localization support : If there are licensing restrictions for certain regions, consider adding a flag or parameter to indicate whether a song is available in a specific region.
This enhancement would greatly improve the API's appeal to developers building applications for diverse audiences.

  1. Request for a "Recommended Songs" Feature
    Another feature that would add immense value to the API is the ability to fetch recommended songs based on user preferences or listening history. Currently, the API provides endpoints for searching songs, albums, and playlists, but there’s no way to retrieve personalized recommendations.

Why This Feature is Important:
Music streaming platforms like Spotify and Apple Music heavily rely on recommendation algorithms to keep users engaged. A "Recommended Songs" feature would allow developers to replicate this functionality in their applications.
Recommendations could be based on:
User preferences : Songs similar to those the user has searched for or played.
Genre-based recommendations : Songs from the same genre as the current track.
Mood/Tempo : Songs that match the mood or tempo of the current track (e.g., upbeat, chill, romantic).
Suggested Implementation:
Add a new endpoint, such as /api/recommendations, which accepts parameters like:
song_id: Fetch recommendations based on a specific song.
artist_id: Fetch songs by similar artists.
genre: Fetch songs from a specific genre.
limit: Number of recommendations to return.
Example API call:
Copy
1 GET https://saavn.dev/api/recommendations?song_id=12345&limit=10
This would return 10 songs recommended based on the song with ID 12345.
Benefits:
Developers can create more engaging and personalized user experiences.
Applications built using the API will see increased user retention due to tailored content.
The API will stand out as a comprehensive solution for music app development.
Conclusion
Adding support for international songs and introducing a "Recommended Songs" feature would elevate the JioSaavn Unofficial API to the next level. These enhancements would not only address current limitations but also make the API more competitive and versatile for developers worldwide.

Thank you for your time and effort in maintaining this incredible resource. I truly appreciate the work you’ve done so far, and I’m confident that these updates would make the API even more valuable to the developer community.

Looking forward to your response!

Best regards,
Ayush
My Project (alfaazp.vercel.app)

@Alpha-lazy
Copy link

try this end point for song suggestions https://jiosavan-api-tawny.vercel.app/api/songs/{id}/suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants