[Feature Request] Widget for "Your Spotify" #3080
Replies: 1 comment
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ To achieve the desired functionality with the "Your Spotify" application on gethomepage, you would need to create a custom API widget that can handle multiple URLs since the "Your Spotify" API serves data on multiple endpoints. However, as you've noted, the One potential solution is to create a proxy API that aggregates the data from the multiple "Your Spotify" API endpoints into a single response. This proxy API would handle the requests to the various "Your Spotify" endpoints, combine the data into a single JSON object, and then serve that combined data to the Here's a high-level overview of the steps you would need to take:
This approach would require some additional development work outside of gethomepage, but it would allow you to display data from multiple API endpoints within a single widget on your dashboard. Remember to handle authentication and security considerations when setting up your proxy API, especially if the "Your Spotify" API requires authentication. Unfortunately, without direct support for multiple URLs in the This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
Description
Your Spotify is a self-hosted application gathering stats on your spotify usage. It does provide an API for its own frontend that could be used to display some data on gethomepage.
Something like this would be neat :
I tried to use
customapi
but since it only supports 1 url and that "your spotify" API is served on multiple urls it does not work.Other
No response
Beta Was this translation helpful? Give feedback.
All reactions