Our Spotify integration now includes play history for the logged-in user.
query SpotifyPlayHistory {
spotify {
me {
recentlyPlayed {
nodes {
playedAt
track {
name
}
}
}
}
}
}
It requires a new user-read-recently-played
scope. If you see an insufficient auth error after running the query, log out and back in to Spotify.
Try it out at OneGraph.
Hop into our Spectrum channel if you have any questions.