<?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 How to avoid getting Error 429 in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5082798#M1647</link>
    <description>&lt;P&gt;I'm writing a app to provide auto-scrolling lyrics for Spotify. For the best experience, I have to use&amp;nbsp;&lt;A href="https://api.spotify.com/v1/me/player/currently-playing" target="_self"&gt;https://api.spotify.com/v1/me/player/currently-playing&lt;/A&gt; to get&amp;nbsp;&lt;STRONG&gt;progress_ms&lt;/STRONG&gt; to know the precision position every 2 seconds (if the user made any changes to the process, it can sync the lyrics immediately. But this can make a huge number of requests. And I have got Error 429 today. I think I have to do something about it so the user can have a much better experience then.&lt;/P&gt;&lt;P&gt;Hope you guys can help me out! Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 14:53:05 GMT</pubDate>
    <dc:creator>WXRIW</dc:creator>
    <dc:date>2020-12-01T14:53:05Z</dc:date>
    <item>
      <title>How to avoid getting Error 429</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5082798#M1647</link>
      <description>&lt;P&gt;I'm writing a app to provide auto-scrolling lyrics for Spotify. For the best experience, I have to use&amp;nbsp;&lt;A href="https://api.spotify.com/v1/me/player/currently-playing" target="_self"&gt;https://api.spotify.com/v1/me/player/currently-playing&lt;/A&gt; to get&amp;nbsp;&lt;STRONG&gt;progress_ms&lt;/STRONG&gt; to know the precision position every 2 seconds (if the user made any changes to the process, it can sync the lyrics immediately. But this can make a huge number of requests. And I have got Error 429 today. I think I have to do something about it so the user can have a much better experience then.&lt;/P&gt;&lt;P&gt;Hope you guys can help me out! Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 14:53:05 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5082798#M1647</guid>
      <dc:creator>WXRIW</dc:creator>
      <dc:date>2020-12-01T14:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid getting Error 429</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5083009#M1653</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/24092711"&gt;@WXRIW&lt;/a&gt;, thanks for posting on the Spotify for Developers board!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Rate limiting is applied as per application based on Client ID, and regardless of the number of users who use the application simultaneously. Right now, there's no information to share about the specific amount of requests you can do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reduce the amount of requests, use endpoints that fetch multiple entities in one request. For example: If you often request single tracks, albums, or artists, use endpoints such as &lt;A href="https://developer.spotify.com/documentation/web-api/reference/tracks/get-several-tracks/" target="_blank" rel="nofollow noopener noreferrer"&gt;Get Several Tracks&lt;/A&gt;, &lt;A href="https://developer.spotify.com/documentation/web-api/reference/albums/get-several-albums/" target="_blank" rel="nofollow noopener noreferrer"&gt;Get Several Albums&lt;/A&gt; or &lt;A href="https://developer.spotify.com/documentation/web-api/reference/artists/get-several-artists/" target="_blank" rel="nofollow noopener noreferrer"&gt;Get Several Artists&lt;/A&gt;, instead.&amp;nbsp;Let me know if you have any questions!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a great day and happy coding!&lt;/P&gt;&lt;P&gt;Hubo&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 20:05:08 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5083009#M1653</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2020-12-01T20:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid getting Error 429</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5083312#M1657</link>
      <description>Thank you for your reply, but I can't figure out a way to reduce requests. For the best experience, it have to check the progress_ms to make sure the time is currect.</description>
      <pubDate>Wed, 02 Dec 2020 04:20:14 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-to-avoid-getting-Error-429/m-p/5083312#M1657</guid>
      <dc:creator>WXRIW</dc:creator>
      <dc:date>2020-12-02T04:20:14Z</dc:date>
    </item>
  </channel>
</rss>

