I am using soundcloud api via python SDK.
When I get track data through Search, the track attribute 'playback_count' seems to be less than the actual amount viewed on the Internet.
How can I avoid this problem and get the actual play_count?
(e.g. this playback_count track gives me 2700, but its actually 15k when displayed on the Internet https://soundcloud.com/drumandbassarena/ltj-bukem-soundcrash-mix-march-2016 )
Note: this problem does not occur for comments or comments.
following my code
##Search## tracks = client.get('/tracks', q=querytext, created_at={'from':startdate},duration={'from':startdur},limit=200) outputlist = [] trackinfo = {} resultnum = 0 for t in tracks: trackinfo = {} resultnum += 1 trackinfo["id"] = resultnum trackinfo["title"] =t.title trackinfo["username"]= t.user["username"] trackinfo["created_at"]= t.created_at[:-5] trackinfo["genre"] = t.genre trackinfo["plays"] = t.playback_count trackinfo["comments"] = t.comment_count trackinfo["likes"] =t.likes_count trackinfo["url"] = t.permalink_url outputlist.append(trackinfo)
source share