是否从Soundclouds API中删除了热度排序?


Has order by hotness been removed from Soundclouds API

我在SoundCloud API的一些教程中看到了按热度排序的功能。例如在PHP中:

// create a client object with your app credentials
$client = new Services_Soundcloud('APP KEY');
// find all sounds of buskers licensed under 'creative commons share alike'
$tracks = $client->get('tracks', array('genre' => json_encode($tag), 'limit' => '20', 'order' => 'hotness')); // array('q' => 'dubstep'));
$tracks=json_decode($tracks);
die(var_dump($tracks));

然而,这返回了一个播放次数为0的音轨列表,并且在SoundClouds文档中没有提到这种排序:

http://developers.soundcloud.com/docs/api/sdks方法

是,订单参数最近已被删除。摘自2013年4月16日的API博客:

很快,对/tracks端点的GET请求将忽略order参数,并默认按创建日期排序。

…与此同时,仍然可以通过手动按favoritings_countplayback_count的组合对返回的轨道进行排序来近似先前指定order=hotness返回的结果集。

http://developers.soundcloud.com/blog/removing-hotness-param