Export your music listening actions using schema.org ListenAction.
Schema.org provides a standard and interoperable way to describe actions on the Web. This API let you export music listening actions from various websites using schema.org ListeningAction, enabling new usages for user profiling, personalisation and user-privacy on the Web.
GET https://music-actions.appspot.com/_ah/api/musicactions/v1/{service}/{uid}/{token}
service
: the service name. Supported values: facebook
, deezer
, lastfm
uid
: the ID of the user whom you want to export actionstoken
: the authentication token for the user (invalid token will return an error 500)
facebook
, needs the user_actions.music
permissiondeezer
, needs the listening_history
permissionlastfm
, needs to be your API key200 OK
{
"kind": "musicactions#resourcesItem",
"etag": "\"_oj1ynXDYJ3PHpeV8owlekNCPi4/NH17nWS3hMc3GSHWziswWp2pTFk\""
"data": "some action data"
}
Built by Alexandre Passant (mdg.io / seevl.fm). Read more about the why and the how of this service.
This API is is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the API or the use or other dealings in the API.
When using it, you should comply with the TOS of the original service(s) you're getting data from (facebook, deezer, lastfm). The API doesn't store any data, tokens, keys, nor any private information.