Skip to content

SoundCloud

EhsanFox edited this page Feb 17, 2022 · 1 revision

Class: SoundCloud

Implements

  • SCEngine

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SoundCloud()

Properties

extractor

extractor: (input: string) => SCExtractorResult

Type declaration

▸ (input): SCExtractorResult

Parameters
Name Type
input string
Returns

SCExtractorResult

Implementation of

SCEngine.extractor


validator

validator: (input: string) => boolean

Type declaration

▸ (input): boolean

Parameters
Name Type
input string
Returns

boolean

Implementation of

SCEngine.validator

Methods

use

use(input, type?): Promise<SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist | (SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist)[]>

Parameters

Name Type Default value
input string undefined
type "all" | "artist" | "track" | "playlist" 'all'

Returns

Promise<SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist | (SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist)[]>

Implementation of

SCEngine.use

Music Engines Docs

Clone this wiki locally