brokenprogrammer / RapidTunes

A music player that lets you play music from all sources.
MIT License
7 stars 4 forks source link

Implement a small api to communicate with SoundCloud through Java. #63

Closed brokenprogrammer closed 3 years ago

brokenprogrammer commented 6 years ago

To preform actions on SoundCloud servies such as search for tracks we need to use a SoundCloud api. I believe that it would be a small enough API that we could do it ourselves.

It would be a new package:

By a brief scim through it would be a class structure that looks something like this:

Where SoundCloud.java performs HTTP API requests. Here a library dealing with http and a library dealing with JSON might be required to be added to RapidTunes.

org.apache.http has some nice looking http classes. Google Gson might be sufficient for this task as well.