Skip to content

Instantly share code, notes, and snippets.

@mogelbrod
Created May 11, 2013 10:23
Show Gist options
  • Save mogelbrod/5559533 to your computer and use it in GitHub Desktop.
Save mogelbrod/5559533 to your computer and use it in GitHub Desktop.
var data = {
id: trackID(track),
uri: track, // spotify:track:...
artists: [
{ name: 'Unknown', uri: 'spotify:artist:518rTAIFPwQjLUSi4Pdzzn' }
],
title: track, // track name (title)
requests: 1, // number of requests
requesters: [ // length == requests
{ user: 'Anonymous', url: 'http://', time: new Date() }
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment