marcushill / troubadour-server

1 stars 1 forks source link

Create Genre Objects #27

Closed marcushill closed 7 years ago

marcushill commented 7 years ago

Needed for #1

marcushill commented 7 years ago

@sdeastcott Just to make sure you know, these are supposed to look like this:

          {
            "spotify_id": "pop",
            "images": [],
            "type": "genre",
            "name": "Pop",
            "uri": "spotify:genre:pop"
          }

The values are made up, but the important part is that:

  1. All the keys are there and...
  2. The uris are of the form spotify:genre:<some id that you get I don't care how>
seastcott commented 7 years ago

@marcushill close this if it looks good

jblairkiel commented 7 years ago

@marcushill Just thought about this, should associated Genre's be included with a search? Say i search beyonce, should the top result's genre be included? Or else we would only add Genre's if the user explicitly searched for them.