18

I am researching for a project and was wondering if I can use SoundCloud API for making and app that streams music with SoundCloud. I could not find any official source from SoundCloud to privde a Java solution.

Any idea?

Dan
  • 577
  • 1
  • 12
  • 38
  • https://github.com/soundcloud/java-api-wrapper – 0x9BD0 Sep 30 '14 at 02:55
  • @Philibobby thanks for your comment. I have seen this page before, but is it the official solution by SoundCloud? – Dan Sep 30 '14 at 03:23
  • 2
    @Dan as per the readme in that repo, SoundCloud has officially decided to discontinue their Java API. If you want to use that Java wrapper, you'll have to start maintaining it yourself or user another users' fork. – JAL Sep 30 '14 at 15:18
  • Can we use soundcloud to host our audio track and play it through an android app? – Sahana Prabhakar Dec 26 '16 at 05:08

3 Answers3

18

Go to Soundcloud developer site

Click on My Apps.. Sign in Register your new app Once you register you will have client id and client secret. Note it

https://api.soundcloud.com/tracks/"TRACK ID"/stream?client_id="YOUR CLIENT ID"

This API url will give you the sound file you want to play. You can use this url and parse the track id to play according to your need.

You can play around the url with different stuffs like getting user details,playlists.

Refer this link for more API reference

Dhinakaran Thennarasu
  • 3,336
  • 4
  • 26
  • 39
5

I update a library for new versions of android: https://github.com/chemalarrea/soundcloudapi-android

chemalarrea
  • 1,385
  • 13
  • 11
4

I know it's too late, but in case if somebody else is stuck.

You can check out this repository. It's a simple wrapper of the SoundCloud API built with Retrofit2 and RxJava.

nullbyte
  • 1,178
  • 8
  • 16