java - How do I stream a SoundCloud users tracks? -
this first app building, not knowledgeable. have followed tutorial here http://www.sitepoint.com/develop-music-streaming-android-app/ , created simple music streaming app. however, streams whatever random songs come not sure where. have researched , found endpoint should /users/{userid}/tracks. guess not sure how implement this. adjusted url base endpoint many combinations of the (https://api.soundcloud.com/users/{userid}/tracks) can think of or see. changing wrong thing? need change more stored url?
extra information - using android studio - can't post api reference link because of low reputation not hard find
the api endpoint have correct, need pass clientid on every request. sign sc developers here. if clientid 9038420384208424
api call request should this:
api.soundcloud.com/users/duvetcover/tracks/?client_id=9038420384208424&limit=200&linked_partitioning=1
the &limit=200
, &linked_partitioning=1
optional parameters. limit
parameter specify how many entries show. maximum 200. linked_partitioning=1
allows pagination. gives next_href
key @ end of request can access next page of followers, favorites, tracks or whatever querying.
Comments
Post a Comment