Link Search Menu Expand Document

user.getProfile

Get all the liked tracks, disliked tracks, liked artists associated with a given user.

Example URL

https://api.melodia.io/v1/user.getProfile?userKey=a4b5G982H3r9Vf783EEd

Params

paramrequireddescriptiontype
userKeyYID associated with userString

Auth

This service requires authentication. Refer to Authentication for more details.

Sample Response

{
    "statusCode": 200,
    "body": {
        "query": "Bo",
        "liked_tracks": [
            {
                "trackKey": "MT239432948",
                "title": "Born on the Bayou",
                "artist": "Creedence Clearwater Revival",
                "artistKey": "MA29FE4f3gXj",
                "artwork100": "http://akamai-b.cdn.cddbp.net/cds/2.0/cover/D7E5/6608/B546/60CD_xlarge_front.jpg"
                ...
            },
            {
                "trackKey": "MT23WMd2948",
                "title": "Born in the U.S.A",
                "artist": "Bruce Springsteed",
                "artistKey": "MA29FE3243gXj",
                "artwork100": "http://akamai-b.cdn.cddbp.net/cds/2.0/cover/D7E5/6608/B546/60CD_xlarge_front.jpg"
                ...
            },
            ...
        ],
        "disliked_tracks": [
            {
                "trackKey": "MT23FE3294w",
                "title": "Let It Be",
                "artist": "The Beatles",
                "artistKey": "MA29FE3g44Xj",
                "artwork100": "http://akamai-b.cdn.cddbp.net/cds/2.0/cover/D7E5/6608/B546/60CD_xlarge_front.jpg"
                ...
            },
            {
                "trackKey": "MT23XMd2190",
                "title": "Levon",
                "artist": "Elton John",
                "artistKey": "MA29FE3243gXj",
                "artwork100": "http://akamai-b.cdn.cddbp.net/cds/2.0/cover/D7E5/6608/B546/60CD_xlarge_front.jpg"
                ...
            },
            ...
        ],
        "liked_artists": [
            {
                "artistKey": "MT239432948",
                "artistName": "Bob Dylan"
                ...
            },
            {
                "artistKey": "MT23WMd2948",
                "artistName": "The Beach Boys",
                ...
            },
            ...
        ]
        }
}

Discussion

Get all the liked tracks, disliked tracks, liked artists associated with a given user.