Mixcloud

Mixcloud

Endpoints for mixcloud

Constructor

new Mixcloud(access_token)

Return a new Mixcloud instance

Source:
Parameters:
Name Type Description
access_token String

Methods

city(city, paging, metadata, callback)

Search by city

Source:
Parameters:
Name Type Default Description
city String
paging Paging null
metadata Boolean | Number
callback String

discover(q, paging, metadata, callback)

Discover shows

Source:
Parameters:
Name Type Default Description
q String
paging Paging null
metadata Boolean
callback String

discover_latest(q, paging, metadata, callback)

Discover latest shows

Source:
Parameters:
Name Type Default Description
q String
paging Paging null
metadata Boolean
callback String

Discover popular shows

Source:
Parameters:
Name Type Default Description
q String
paging Paging null
metadata Boolean
callback String

embed(username, title, is_json, callback, width, height, color)

Get embed html/json

Source:
Parameters:
Name Type Default Description
username String
title String
is_json Boolean true
callback String
width String
height String
color String

favorite(username, title, callback)

Favorite a show

Source:
Parameters:
Name Type Description
username String
title String
callback String

follow(username, callback)

Follow a user

Source:
Parameters:
Name Type Description
username String
callback String

listen_later(username, title, callback)

Add show to listen later

Source:
Parameters:
Name Type Description
username String
title String
callback String

me(metadata, metadata, callback)

Get Current User Data

Source:
Parameters:
Name Type Description
metadata Boolean
metadata Boolean | Number
callback String

obtain_access_token(client_id, redirect_uri, client_secret, oauth_code, callback)

Get access token

Source:
Parameters:
Name Type Description
client_id String
redirect_uri String
client_secret String
oauth_code String
callback String

oembed(username, title, callback)

Get oembed

Source:
Parameters:
Name Type Description
username String
title String
callback String

repost(username, title, callback)

Repost a show

Source:
Parameters:
Name Type Description
username String
title String
callback String

Search for show, user or tag

Source:
Parameters:
Name Type Default Description
q String
type 'upload' | 'user' | 'tag' upload
paging Paging null
metadata Boolean | Number
callback String

show(username, title, metadata, callback)

Get show

Source:
Parameters:
Name Type Description
username String
title String
metadata Boolean | Number
callback String

tag(tag, paging, metadata, callback)

Search tag

Source:
Parameters:
Name Type Default Description
tag String
paging Paging null
metadata Boolean | Number
callback String

tag_and_city(tag, city, paging, metadata, callback)

Search by city and tag

Source:
Parameters:
Name Type Default Description
tag String
city String
paging Paging null
metadata Boolean
callback String

undo_favorite(username, title, callback)

Remove a show from favorites

Source:
Parameters:
Name Type Description
username String
title String
callback String

undo_listen_later(username, title, callback)

Remove show from listen later

Source:
Parameters:
Name Type Description
username String
title String
callback String

undo_repost(username, title, callback)

Remove a reposted show

Source:
Parameters:
Name Type Description
username String
title String
callback String

unfollow(username, callback)

Unfollow a user

Source:
Parameters:
Name Type Description
username String
callback String

user(username, metadata, callback)

Get user

Source:
Parameters:
Name Type Description
username String
metadata Boolean | Number
callback String

user_cloudcasts(username, paging, metadata, callback)

Get user cloudcasts

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_comments(username, paging, metadata, callback)

Get user comments

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_favorites(username, paging, metadata, callback)

Get user favorites

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_feed(username, paging, metadata, callback)

Get user feed

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_followers(username, paging, metadata, callback)

Get user followers

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_following(username, paging, metadata, callback)

Get user following

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_listens(username, paging, metadata, callback)

Get user listens

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String

user_playlist_cloudcasts(username, slug, paging, metadata, callback)

Get one user playlist

Source:
Parameters:
Name Type Default Description
username String
slug String
paging Paging null
metadata Boolean
callback String

user_playlists(username, paging, metadata, callback)

Get user playlists

Source:
Parameters:
Name Type Default Description
username String
paging Paging null
metadata Boolean
callback String