<?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 Why does my code return an error finding devices? in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Why-does-my-code-return-an-error-finding-devices/m-p/5537165#M8718</link>
    <description>I have some code to get my token&lt;BR /&gt;and this code to get my available players&lt;BR /&gt;def find_player(token):&lt;BR /&gt;    url = "&lt;A href="https://api.spotify.com/v1/me/player/devices" target="_blank"&gt;https://api.spotify.com/v1/me/player/devices&lt;/A&gt;"&lt;BR /&gt;    headers = {&lt;BR /&gt;        "Authorization": f"Bearer {token}"&lt;BR /&gt;    }&lt;BR /&gt;    response = requests.get(url, headers=headers)&lt;BR /&gt;    print(response.content)&lt;BR /&gt;    print(response.status_code)</description>
    <pubDate>Mon, 10 Apr 2023 17:18:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2023-04-10T17:18:14Z</dc:date>
    <item>
      <title>Why does my code return an error finding devices?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Why-does-my-code-return-an-error-finding-devices/m-p/5537165#M8718</link>
      <description>I have some code to get my token&lt;BR /&gt;and this code to get my available players&lt;BR /&gt;def find_player(token):&lt;BR /&gt;    url = "&lt;A href="https://api.spotify.com/v1/me/player/devices" target="_blank"&gt;https://api.spotify.com/v1/me/player/devices&lt;/A&gt;"&lt;BR /&gt;    headers = {&lt;BR /&gt;        "Authorization": f"Bearer {token}"&lt;BR /&gt;    }&lt;BR /&gt;    response = requests.get(url, headers=headers)&lt;BR /&gt;    print(response.content)&lt;BR /&gt;    print(response.status_code)</description>
      <pubDate>Mon, 10 Apr 2023 17:18:14 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Why-does-my-code-return-an-error-finding-devices/m-p/5537165#M8718</guid>
      <dc:creator />
      <dc:date>2023-04-10T17:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my code return an error finding devices?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Why-does-my-code-return-an-error-finding-devices/m-p/5537198#M8719</link>
      <description>&lt;P&gt;How did you get the Bearer Authorization token?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 18:48:36 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Why-does-my-code-return-an-error-finding-devices/m-p/5537198#M8719</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-04-10T18:48:36Z</dc:date>
    </item>
  </channel>
</rss>

