<?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 Re: Getting track genre data without logging in. in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-track-genre-data-without-logging-in/m-p/5425278#M5997</link>
    <description>&lt;P&gt;Yes, this can be done with the &lt;A href="https://developer.spotify.com/documentation/general/guides/authorization/client-credentials/" target="_blank" rel="noopener"&gt;Client Credentials Flow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: tracks don't have genres; artists have.&lt;/P&gt;&lt;P&gt;So, to get the genre of a track, you first need to get the artist(s) of that track with the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track" target="_blank" rel="noopener"&gt;Get Track&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-tracks" target="_blank" rel="noopener"&gt;Get Several Tracks&lt;/A&gt;&amp;nbsp;endpoint, and then get the genre(s) of the artist(s) with the &lt;/SPAN&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artist" target="_blank" rel="noopener"&gt;Get Artist&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-artists" target="_blank" rel="noopener"&gt;Get Several Artists&lt;/A&gt; endpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Sep 2022 12:54:28 GMT</pubDate>
    <dc:creator>Ximzend</dc:creator>
    <dc:date>2022-09-03T12:54:28Z</dc:date>
    <item>
      <title>Getting track genre data without logging in.</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-track-genre-data-without-logging-in/m-p/5424803#M5945</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am currently developing an app for personal use, that should fetch the genre of a track If I provide track ID. This I belive Is possible, but only with authentication/logging in. Is there a method where I can avoid logging in, since all I do is fetch the genre of a track.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iOS 10, Android&amp;nbsp;Oreo, Windows 10,etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:31:35 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-track-genre-data-without-logging-in/m-p/5424803#M5945</guid>
      <dc:creator>celluks</dc:creator>
      <dc:date>2022-09-02T13:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting track genre data without logging in.</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-track-genre-data-without-logging-in/m-p/5425278#M5997</link>
      <description>&lt;P&gt;Yes, this can be done with the &lt;A href="https://developer.spotify.com/documentation/general/guides/authorization/client-credentials/" target="_blank" rel="noopener"&gt;Client Credentials Flow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: tracks don't have genres; artists have.&lt;/P&gt;&lt;P&gt;So, to get the genre of a track, you first need to get the artist(s) of that track with the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track" target="_blank" rel="noopener"&gt;Get Track&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-tracks" target="_blank" rel="noopener"&gt;Get Several Tracks&lt;/A&gt;&amp;nbsp;endpoint, and then get the genre(s) of the artist(s) with the &lt;/SPAN&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artist" target="_blank" rel="noopener"&gt;Get Artist&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-artists" target="_blank" rel="noopener"&gt;Get Several Artists&lt;/A&gt; endpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 12:54:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-track-genre-data-without-logging-in/m-p/5425278#M5997</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-09-03T12:54:28Z</dc:date>
    </item>
  </channel>
</rss>

