<?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 Current Playback API - progress_ms: integer or string? in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Current-Playback-API-progress-ms-integer-or-string/m-p/5001107#M761</link>
    <description>&lt;P data-unlink="true"&gt;The web API supports getting information about the user's current playback state. The &lt;A href="https://developer.spotify.com/documentation/web-api/reference/player/get-information-about-the-users-current-playback/" target="_self"&gt;docs for this endpoint&lt;/A&gt; &amp;nbsp;detail the "progress_ms". This property contains the "&lt;SPAN&gt;Progress into the currently playing track" and is specified to be an integer. However, in the example JSON the property's value is of type string:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "progress_ms": "44272"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this example incorrect, is the documentation incorrect, or something else? I know that some other APIs use strings to represent large numbers because of&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER" target="_self"&gt;Javascript limitations&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Sun, 19 Jul 2020 17:28:39 GMT</pubDate>
    <dc:creator>MIGreenberg</dc:creator>
    <dc:date>2020-07-19T17:28:39Z</dc:date>
    <item>
      <title>Current Playback API - progress_ms: integer or string?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Current-Playback-API-progress-ms-integer-or-string/m-p/5001107#M761</link>
      <description>&lt;P data-unlink="true"&gt;The web API supports getting information about the user's current playback state. The &lt;A href="https://developer.spotify.com/documentation/web-api/reference/player/get-information-about-the-users-current-playback/" target="_self"&gt;docs for this endpoint&lt;/A&gt; &amp;nbsp;detail the "progress_ms". This property contains the "&lt;SPAN&gt;Progress into the currently playing track" and is specified to be an integer. However, in the example JSON the property's value is of type string:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "progress_ms": "44272"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this example incorrect, is the documentation incorrect, or something else? I know that some other APIs use strings to represent large numbers because of&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER" target="_self"&gt;Javascript limitations&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2020 17:28:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Current-Playback-API-progress-ms-integer-or-string/m-p/5001107#M761</guid>
      <dc:creator>MIGreenberg</dc:creator>
      <dc:date>2020-07-19T17:28:39Z</dc:date>
    </item>
  </channel>
</rss>

