Collegati al tuo account Facebook

jamendo.get2 : Home | Crash course | Useful queries | Formats | Parameters | Fields | Orders | Joins

Orders reference

Important : After each of these orders, you have to append _asc or _desc to the order parameter to sort ascending or descending. So order=releasedate is invalid, use either order=releasedate_asc or order=releasedate_desc

NOTE: random_asc and random_desc seem to work. They seem to be otherwise undocumented here, but my example is http://api.jamendo.com/get2/ahrefname/track/plain/?playlist_id=128453&n=all&order=random_asc. Pretty useful, so I thought I'd add it here!

Examples

The last 10 albums the user sylvinus starred in "reverse" order of starring (most recent first):

http://api.jamendo.com/get2/id+name/album/plain/album_user_starred/?user_idstr=sylvinus&n=10&order=starreddate_desc

The 10 oldest albums the user sylvinus starred:

http://api.jamendo.com/get2/id+name/album/plain/album_user_starred/?user_idstr=sylvinus&n=10&order=releasedate_asc

unit artist

Order params description
listened allows you to order the artists by the number of times they've been listened
weight In use with the relation artist_tag, orders by the most/least relevant to the specified tag

unit album

Order params description
releasedate allows you to order the albums by their date of release on Jamendo
needseeding allows you to order the albums by their need of seeding in Bittorent networks
needreviews allows you to order the albums by their lack of reviews
rating allows you to order the albums by their average rating in reviews
ratingweek allows you to order the albums by their popularity since one week
ratingmonth allows you to order the albums by their popularity since one month
playlisted allows you to order the albums by the number of playlists they are in.
downloaded allows you to order the albums by the number of playlists they are in.
listened allows you to order the albums by the number of times they've been listened
starred allows you to order the albums by the number of times they've been starred (favourited)
starreddate In use with the relation album_user_starred, orders by the date of starring
weight In use with the relation album_tag, orders by the most/least relevant to the specified tag

unit playlist

Order params description
starreddate In use with the relation playlist_user_starred, orders by the date of starring
createddate Allows you to order by the date of creation of the playlists
starred Allows you to order the playlists by the number of times they've been starred (favourited)

unit track

Order params description
numalbum Allows you to order by the number of the track in its album
numplaylist Allows you to order by the number of the track in its playlist
weight In use with the relation track_tag, orders by the most/least relevant to the specified tag