<?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 get top tracks in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5406036#M5037</link>
    <description>&lt;P&gt;I have the following problem.&lt;BR /&gt;When sending a request to the link &lt;A href="https://api.spotify.com/v1/me/top/tracks" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me/top/tracks&lt;/A&gt; with parameters offset=0 and limit=50 everything is sent normally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Снимок экрана (2446).png" style="width: 999px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/142822iE05C9BAC073257E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок экрана (2446).png" alt="Снимок экрана (2446).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you send the next request with offset = 50, then 0 tracks are sent, although if you send the same request with offset = 49, then tracks from 49 to 98 are sent, although with offset = 50 there are at least 98 tracks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Снимок экрана (2447).png" style="width: 999px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/142823iE166BF36D30D389C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок экрана (2447).png" alt="Снимок экрана (2447).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Снимок экрана (2449).png" style="width: 999px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/142824iCF1F4DFCDC3A161C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок экрана (2449).png" alt="Снимок экрана (2449).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me what this could be related to and what I'm doing wrong when submitting a request?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use google translate, so the translation may not be entirely correct.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jul 2022 18:34:20 GMT</pubDate>
    <dc:creator>mr_hanger</dc:creator>
    <dc:date>2022-07-16T18:34:20Z</dc:date>
    <item>
      <title>get top tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5406036#M5037</link>
      <description>&lt;P&gt;I have the following problem.&lt;BR /&gt;When sending a request to the link &lt;A href="https://api.spotify.com/v1/me/top/tracks" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me/top/tracks&lt;/A&gt; with parameters offset=0 and limit=50 everything is sent normally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Снимок экрана (2446).png" style="width: 999px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/142822iE05C9BAC073257E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок экрана (2446).png" alt="Снимок экрана (2446).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you send the next request with offset = 50, then 0 tracks are sent, although if you send the same request with offset = 49, then tracks from 49 to 98 are sent, although with offset = 50 there are at least 98 tracks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Снимок экрана (2447).png" style="width: 999px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/142823iE166BF36D30D389C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок экрана (2447).png" alt="Снимок экрана (2447).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Снимок экрана (2449).png" style="width: 999px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/142824iCF1F4DFCDC3A161C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок экрана (2449).png" alt="Снимок экрана (2449).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me what this could be related to and what I'm doing wrong when submitting a request?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use google translate, so the translation may not be entirely correct.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 18:34:20 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5406036#M5037</guid>
      <dc:creator>mr_hanger</dc:creator>
      <dc:date>2022-07-16T18:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: get top tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5407037#M5052</link>
      <description>&lt;P&gt;I cannot offer any solution, but can confirm it functions the same way for me. There's nothing in the documentation that would clarify this behavior.&amp;nbsp; Another post from almost two years ago reported the same issue, so if it's a bug it isn't recent: &lt;A href="https://community.spotify.com/t5/Spotify-for-Developers/Bug-with-offset-for-method-quot-Get-User-s-Top-Artists-and/m-p/5032362#M1101" target="_blank"&gt;https://community.spotify.com/t5/Spotify-for-Developers/Bug-with-offset-for-method-quot-Get-User-s-Top-Artists-and/m-p/5032362#M1101&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 05:57:36 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5407037#M5052</guid>
      <dc:creator>plwww</dc:creator>
      <dc:date>2022-07-19T05:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: get top tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5407244#M5058</link>
      <description>&lt;P&gt;I want to try querying all my stats by mail from Spotify. It should send all information about me from the moment of registration on the platform. There is a lot of information in it: including information about when you started listening to the song, how long you listened to it, when you finished it and why it ended (the song ended or you rewound it yourself), and other information about me. But it's just not clear why it can't be obtained from the api. Why, for the sake of this, write to them by mail and wait for a response within 30 days (this is how long a folder with information is formed).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 15:07:21 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5407244#M5058</guid>
      <dc:creator>mr_hanger</dc:creator>
      <dc:date>2022-07-19T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: get top tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5407252#M5059</link>
      <description>&lt;P&gt;Also, if offset = 98 worked, then I wouldn't be asking the problem, as it would be possible to send requests at offset % 49, but that doesn't work, and offset = 98 sends 0 items. I also tried numbers 99, 97, 95, 55, 51 but they all send 0 items. They probably wrote in their code: if (offset &amp;gt; 50) { throw new Exception(...); }&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 15:42:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/get-top-tracks/m-p/5407252#M5059</guid>
      <dc:creator>mr_hanger</dc:creator>
      <dc:date>2022-07-19T15:42:28Z</dc:date>
    </item>
  </channel>
</rss>

