<?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: Spotify Recently Played filter fields in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Recently-Played-filter-fields/m-p/5639137#M10795</link>
    <description>&lt;P&gt;Ah! I think I've finally figured it out after lots of trial and error. It's:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;"https://api.spotify.com/v1/me/player/recently-played?fields=track.name,track.artists.name,track.artists.id,played_at"&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Sep 2023 00:13:05 GMT</pubDate>
    <dc:creator>8-resr3ejf_dn</dc:creator>
    <dc:date>2023-09-21T00:13:05Z</dc:date>
    <item>
      <title>Spotify Recently Played filter fields</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Recently-Played-filter-fields/m-p/5639134#M10794</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;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United Kingdom&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Macbook Pro M1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;macOS Ventura 13.2.1&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;I want to grab the recently played songs. My query currently is this.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;https://api.spotify.com/v1/me/player/recently-played?limit=20&amp;amp;after=1695243480480&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This returns something like this:&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;    "items": [{&lt;BR /&gt;        "track": {&lt;BR /&gt;            "album": {...},&lt;BR /&gt;            "artists": [...],&lt;BR /&gt;            "available_markets": [...],&lt;BR /&gt;            "disc_number": 1,&lt;BR /&gt;            "duration_ms": 202212,&lt;BR /&gt;            "explicit": false,&lt;BR /&gt;            "external_ids": {...},&lt;BR /&gt;            "external_urls": {...},&lt;BR /&gt;            "href": "https://api.spotify.com/track/a-track",&lt;BR /&gt;            "id": "an id string",&lt;BR /&gt;            "is_local": false,&lt;BR /&gt;            "name": "Song name",&lt;BR /&gt;            "popularity": 100,&lt;BR /&gt;            "preview_url": "https://preview.url",&lt;BR /&gt;            "track_number": 1,&lt;BR /&gt;            "type": "track",&lt;BR /&gt;            "uri": "spotify:track:id"&lt;BR /&gt;        "played_at": timestamp,&lt;BR /&gt;        "context": None&lt;BR /&gt;}&lt;BR /&gt;}]&lt;BR /&gt;}&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;However, I am only interested in grabbing the song name, when it was played at and the artists. I tried to edit my query to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;"https://api.spotify.com/v1/me/player/recently-played?fields=items(track(name, artists), played_at)&amp;amp;limit=20&amp;amp;after=1695243480480"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;but this doesn't work. How can I do this?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 00:01:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Recently-Played-filter-fields/m-p/5639134#M10794</guid>
      <dc:creator>8-resr3ejf_dn</dc:creator>
      <dc:date>2023-09-21T00:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify Recently Played filter fields</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Recently-Played-filter-fields/m-p/5639137#M10795</link>
      <description>&lt;P&gt;Ah! I think I've finally figured it out after lots of trial and error. It's:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;"https://api.spotify.com/v1/me/player/recently-played?fields=track.name,track.artists.name,track.artists.id,played_at"&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Sep 2023 00:13:05 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Recently-Played-filter-fields/m-p/5639137#M10795</guid>
      <dc:creator>8-resr3ejf_dn</dc:creator>
      <dc:date>2023-09-21T00:13:05Z</dc:date>
    </item>
  </channel>
</rss>

