1.0.5 • Published 3 years ago

soundcloud-search-core v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Usage

var scSearch = new (require("soudcloud-search-core"))("YourClientID");

var resouls = await scSearch.tracks("<query(string)>", <limit(number)>); // resoults is array of objects including info about tracks found
var resouls = await scSearch.playlists("<query(string)>", <limit(number)>); // resoults is array of objects including info about playlists found
var resouls = await scSearch.users("<query(string)>", <limit(number)>); // resoults is array of objects including info about users found
var resouls = await scSearch.nofilter("<query(string)>", <limit(number)>); // resoults is array of objects including info about playlists and tracks found
var resouls = await scSearch.any("<query(string)>", <limit(number)>); // resoults is array of objects including info about playlists, tracks and users found
var track = await scSearch.getTrack("TrackID"); // Object with info including info about track
var playlist = await scSearch.getPlaylist("PlaylistID"); // Object with info including info about playlist

OR

scSearch.tracks("<query(string)>", <limit(number)>, resoults => {
  // resoults is array of objects including info about tracks found
})

scSearch.playlists("<query(string)>", <limit(number)>, resoults => {
  // resoults is array of objects including info about playlists found
})

scSearch.users("<query(string)>", <limit(number)>, resoults => {
  // resoults is array of objects including info about users found
})

scSearch.nofilter("<query(string)>", <limit(number)>, resoults => {
  // resoults is array of objects including info about playlists and tracks found
})

scSearch.any("<query(string)>", <limit(number)>, resoults => {
  // resoults is array of objects including info about playlists, tracks and users found
})

scSearch.getTrack("TrackID", resoults => {
  // Object with info including info about track
})

scSearch.getPlaylist("PlaylistID", resoults => {
  // Object with info including info about playlist
});
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago