Creating a playlist / Uploading API

257 views
Skip to first unread message

bluewood

unread,
May 19, 2011, 1:03:56 PM5/19/11
to 8tracks public API
I'm making a project at college that involves creating an Android app
for 8tracks, and I'd like to know when do you expect to have API
methods for creating playlists. And if it's not supported yet, is
there any unsupported action that we can do to create them?

Remi Gabillet

unread,
May 21, 2011, 9:50:26 AM5/21/11
to 8tracks-p...@googlegroups.com
Hi bluewood, thanks for asking about this.

I've been doing work on standardizing the API and making the
documentation clearer so now I'm pretty close to get to the mix
creation API. The best way to get a decent API built is to bug me
about it :) If I see that devs want it, it's a good reason to do it.

I've been waiting because it's still unclear to me how it's going to
work so maybe you (and others) can propose some ideas on how it should
work. Once we agree on a good format, it should be pretty easy for me
to implement the backend.

Here's where I stand on it now. There are 3 parts to creating a mix:

1. upload tracks
2. create a mix (with name, description, tags, cover)
3. add tracks to the mix

Then, possibly, users could:

4. update the mix metadata
5. search previously uploaded tracks
6. reorder add/remove tracks from the mix

This is what the website currently does but the internal API dates
from 3 years ago it would need to be cleaned up. An alternative would
be to create a simpler API that does just 2. 3. and 4. where you would
directly upload tracks to a mix and not support reordering or
adding/remove tracks etc..

I'm not sure what's best, I'm open to feedback, what do you guys think?

Remi

bluewood

unread,
May 21, 2011, 5:20:19 PM5/21/11
to 8tracks public API
I'm okay those steps. Although as an user I don't usually add/remove/
reorder tracks from mixes after creating them, as a developer I think
we should keep that option available for anyone who wants to use it.

Also, it looks like you forgot the 'delete mix' option ;p

Joel B

unread,
May 21, 2011, 6:00:53 PM5/21/11
to 8tracks-p...@googlegroups.com
I would vote for all steps as part if the API.

Sent from my iPhone

Remi - 8tracks

unread,
May 25, 2011, 7:29:49 PM5/25/11
to 8tracks-p...@googlegroups.com
Thanks guys, I'll go for the full implementation then.
And I realized that I forgot not just 1 but 2 calls:

- delete a mix
- publish / un-publish a mix

I'll get started on this soon, hopefully it won't take too long.

Remi

--
Rémi Gabillet
CTO & co-founder, 8tracks
http:8tracks.com/remi

Kelsey G. I.

unread,
Nov 10, 2012, 9:35:00 PM11/10/12
to 8tracks-p...@googlegroups.com
Did anything come of this? Would love to be able to create mixes through the API!

Remi - 8tracks

unread,
Nov 12, 2012, 3:18:42 PM11/12/12
to 8tracks-p...@googlegroups.com
Good question Kelsey.

Unfortunately, it's a pretty complex flow so it was take a while to
build a clean API around it.
We had to deprioritize this and it probably won't be available for a while.

Remi
--
Rémi Gabillet
8tracks CTO & co-founder

Edi W.

unread,
Mar 9, 2013, 8:59:07 AM3/9/13
to 8tracks-p...@googlegroups.com
Hi,

I'm looking into ways I could integrate a website that allows conversion of audio files with 8tracks. The flow would allow a user to "send to 8tracks" the files they converted.

The api to create a mix surely sounds complex, but maybe some "low hanging fruit" can be tackled earlier. For example, the api to add tracks to a user's library. That would allow 3rd party integration with websites that provide music files and make it bit more fun for the user regarding the time-consuming/boring part of creating a mix: file uploads.

Greetings,
Eduard

Remi - 8tracks

unread,
Mar 9, 2013, 5:17:45 PM3/9/13
to 8tracks-p...@googlegroups.com
It's a good idea Edi,

If you want to update a group of tracks, you can use multipart upload to

POST http://8tracks.com/tracks/create_through_nginx
using the param name track_files[] for each track.

Good luck.

Remi
> --
> You received this message because you are subscribed to the Google Groups
> "8tracks public API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 8tracks-public-...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Alex Yeusiukou

unread,
Dec 18, 2015, 11:44:54 AM12/18/15
to 8tracks public API
Dear Remi Gabillet,
Are there any news about the uploading api? If no, can you give an example of the request http://8tracks.com/tracks/create_through_nginx ?
I want to upload a bunch of tracks to a newly created playlist.

Thank you, an all the best.
Reply all
Reply to author
Forward
0 new messages