Link Search Menu Expand Document

explore.getSimilarGenres

Returns similar genres to one or more given genres.

Example URL

https://api.melodia.io/v1/explore.getSimilarGenres?userKey=a4b5G982H3r9Vf783EEd&genreKeys=GN234oufnFDe,GN57gRlknrl&count=20

Params

paramrequireddescriptiontype
userKeyYID associated with userString
genreKeysYID’s associated with given seed genres, separated by a commaString
countNNumber of suggested genres to return (defaults to 10)Int

Auth

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

Sample Response

{
    'statusCode': 200,
    'body': {
        similarGenres: [
        {
            "genreKey": "MT239432948",
            "name": "70's Rock"
        },
        {
            "genreKey": "MT23WMd2948",
            "name": "Pop"
            ...
        }
    ]
    }
}

Discussion

Call this method to get genres similar to one or more genres. Returned genres will be ordered by relevancy.