-
-
Notifications
You must be signed in to change notification settings - Fork 2
SoundCloud
EhsanFox edited this page Feb 17, 2022
·
1 revision
SCEngine
• new SoundCloud()
• extractor: (input: string) => SCExtractorResult
▸ (input): SCExtractorResult
| Name | Type |
|---|---|
input |
string |
SCExtractorResult
SCEngine.extractor
• validator: (input: string) => boolean
▸ (input): boolean
| Name | Type |
|---|---|
input |
string |
boolean
SCEngine.validator
▸ use(input, type?): Promise<SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist | (SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist)[]>
| Name | Type | Default value |
|---|---|---|
input |
string |
undefined |
type |
"all" | "artist" | "track" | "playlist"
|
'all' |
Promise<SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist | (SoundCloudTrack | SoundCloudArtist | SoundCloudPlaylist)[]>
SCEngine.use