Announcements

Looking for more information on the "primary_color" field

Solved!
Reply
Highlighted

Looking for more information on the "primary_color" field

Casual Listener

I've just started working with the API, and I noticed playlists have the following "primary_color" field. While I haven't launched a full investigation, cursory searches of this community, the API docs, and the internet at large and haven't found anything useful. From what I can gather this is a read-only field, but beyond that, I can't get an explanation of what this is for. 

 

Does anyone else know something about this? 

 

{'collaborative': False,
 'description': '',
 'external_urls': {'spotify': 'https://open.spotify.com/playlist/'},
 'href': '',
 'id': '',
 'images': [{'height': 640,
   'url': 'https://i.scdn.co/image/',
   'width': 640}],
 'name': 'uhhh got a flow for this?',
 'owner': {'display_name': '',
  'external_urls': {'spotify': 'https://open.spotify.com/user/'},
  'href': 'https://api.spotify.com/v1/users/',
  'id': '1222656872',
  'type': 'user',
  'uri': 'spotify:user:'},
 'primary_color': None,
 'public': False,
 'snapshot_id': '',
 'tracks': {'href': 'https://api.spotify.com/v1/playlists//tracks',
  'total': 1},
 'type': 'playlist',
 'uri': 'spotify:playlist:'}

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution!

Re: Looking for more information on the "primary_color" field

Spotify
Spotify
Hi!

You can ignore this field. It's used internally only. 🙂

View solution in original post

4 Replies
Highlighted
Solution!

Re: Looking for more information on the "primary_color" field

Spotify
Spotify
Hi!

You can ignore this field. It's used internally only. 🙂

View solution in original post

Highlighted

Re: Looking for more information on the "primary_color" field

Casual Listener
Milena, thank you for your response,
Any hints for the curious, or is this a super-secret "cannot confirm nor deny the existence of the this field's feature" thing? 😋
Highlighted

Re: Looking for more information on the "primary_color" field

Visitor

I'm also totally interested as i've been building a few things using the API and being able to grab a primary colour like how you guys decide your gradients would be fantastic for dynamic UI

Highlighted

Re: Looking for more information on the "primary_color" field

Casual Listener

I've made a project that can dynamically grab a theme from an image, so it would work well with album art. What are you working on / whats your stack? 

 

SUGGESTED POSTS