<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Time-Based Song Retrieval in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Time-Based-Song-Retrieval/m-p/5862058#M12545</link>
    <description>&lt;P&gt;This proposal suggests the implementation of a new feature in the Spotify API to retrieve liked songs based on a specified time range. The objective is to offer users a convenient way to access and manage their favorite songs from a particular period.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H4&gt;&lt;FONT color="#339966"&gt;Feature Details&lt;/FONT&gt;&lt;/H4&gt;&lt;P&gt;The proposed enhancement involves adding a new API endpoint with two arguments: &lt;FONT color="#FF0000"&gt;month&lt;/FONT&gt; and &lt;FONT color="#FF0000"&gt;year&lt;/FONT&gt;. Users can utilize these parameters to fetch their liked songs within the specified time frame, providing a more personalized and historical perspective on their music preferences.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Usage Example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;GET /v1/me/tracks?month=12&amp;amp;year=2023&lt;/DIV&gt;&lt;P&gt;Or:&lt;/P&gt;&lt;DIV class=""&gt;GET /v1/playlists/{playlist_id}?month=12&amp;amp;year=2023&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;H4&gt;&lt;FONT color="#339966"&gt;Why should this get added?&lt;/FONT&gt;&lt;/H4&gt;&lt;P&gt;Because currently there's no easy way to fetch songs from a time range. I made an application that accepts those 2 arguments and the way it is now, it has to loop through every single liked song until it found the songs that start in that time frame. Instead of manually sorting songs in playlists, I simply like them and leave it at that, which means I have a lot of liked songs (over 7400). If I want to generate a playlist from my liked songs from back in 2018, it has to loop through all the songs, which takes time and way too many unnecessary API calls&lt;EM&gt;.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"&lt;FONT color="#FF9900"&gt;But why do you want this?&lt;/FONT&gt;&lt;/EM&gt;", you might ask. Because it's nice to see what I liked during a specific moment in life and to compare it to what I currently listen to.&lt;BR /&gt;&lt;BR /&gt;Or even better yet, make it a built-in feature for the people who want something like this.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tristan030_1-1706957882526.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/168689iE1E49DAAC22021FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tristan030_1-1706957882526.png" alt="Tristan030_1-1706957882526.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tristan030_0-1706957796690.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/168688i4BA75710A89D607F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tristan030_0-1706957796690.png" alt="Tristan030_0-1706957796690.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 03 Feb 2024 11:24:04 GMT</pubDate>
    <dc:creator>Justin0122</dc:creator>
    <dc:date>2024-02-03T11:24:04Z</dc:date>
    <item>
      <title>Time-Based Song Retrieval</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Time-Based-Song-Retrieval/m-p/5862058#M12545</link>
      <description>&lt;P&gt;This proposal suggests the implementation of a new feature in the Spotify API to retrieve liked songs based on a specified time range. The objective is to offer users a convenient way to access and manage their favorite songs from a particular period.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H4&gt;&lt;FONT color="#339966"&gt;Feature Details&lt;/FONT&gt;&lt;/H4&gt;&lt;P&gt;The proposed enhancement involves adding a new API endpoint with two arguments: &lt;FONT color="#FF0000"&gt;month&lt;/FONT&gt; and &lt;FONT color="#FF0000"&gt;year&lt;/FONT&gt;. Users can utilize these parameters to fetch their liked songs within the specified time frame, providing a more personalized and historical perspective on their music preferences.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Usage Example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;GET /v1/me/tracks?month=12&amp;amp;year=2023&lt;/DIV&gt;&lt;P&gt;Or:&lt;/P&gt;&lt;DIV class=""&gt;GET /v1/playlists/{playlist_id}?month=12&amp;amp;year=2023&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;H4&gt;&lt;FONT color="#339966"&gt;Why should this get added?&lt;/FONT&gt;&lt;/H4&gt;&lt;P&gt;Because currently there's no easy way to fetch songs from a time range. I made an application that accepts those 2 arguments and the way it is now, it has to loop through every single liked song until it found the songs that start in that time frame. Instead of manually sorting songs in playlists, I simply like them and leave it at that, which means I have a lot of liked songs (over 7400). If I want to generate a playlist from my liked songs from back in 2018, it has to loop through all the songs, which takes time and way too many unnecessary API calls&lt;EM&gt;.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"&lt;FONT color="#FF9900"&gt;But why do you want this?&lt;/FONT&gt;&lt;/EM&gt;", you might ask. Because it's nice to see what I liked during a specific moment in life and to compare it to what I currently listen to.&lt;BR /&gt;&lt;BR /&gt;Or even better yet, make it a built-in feature for the people who want something like this.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tristan030_1-1706957882526.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/168689iE1E49DAAC22021FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tristan030_1-1706957882526.png" alt="Tristan030_1-1706957882526.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tristan030_0-1706957796690.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/168688i4BA75710A89D607F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tristan030_0-1706957796690.png" alt="Tristan030_0-1706957796690.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 03 Feb 2024 11:24:04 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Time-Based-Song-Retrieval/m-p/5862058#M12545</guid>
      <dc:creator>Justin0122</dc:creator>
      <dc:date>2024-02-03T11:24:04Z</dc:date>
    </item>
  </channel>
</rss>

