Skip to content

Instantly share code, notes, and snippets.

@phuedx
Created November 26, 2012 10:51
Show Gist options
  • Save phuedx/4147623 to your computer and use it in GitHub Desktop.
Save phuedx/4147623 to your computer and use it in GitHub Desktop.
A scrobble in the JSON variant of HAL.
{
"_links": {
"self": {
"href": "/scrobbles/phuedx/1311137514"
}
},
"_embedded": {
"track": {
"_links": {
"self": {
"href": "/tracks/Maybeshewill/Opening"
}
},
"_embedded": {
"artist": {
"_links": {
"self": {
"href": "/artists/Maybeshewill"
}
},
"name": "Maybeshewill"
},
"album": [{
"_links": {
"self": {
"href": "/albums/Maybeshewill/I+Was+Here+For+A+Moment,Then+I+Was+Gone"
}
},
"name": "I Was Here For A Moment, Then I Was Gone"
}]
},
"name": "Opening"
},
"user": {
"_links": {
"self": {
"href": "/users/phuedx"
}
},
"name": "phuedx"
}
},
"timestamp": 1311137514
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment