scload (Search And Download) From SoundCloud
Scload Search and Download Form Soundcloud By keywords and link, (*1)
Get "Scload"
You can download it from here, or require it using [composer], (*2)
{
"require": {
"sc/scload": "dev-master"
}
}
install via composer
composer require sc/scload
Configration in app.php file path(app/config/app.php)
providers, (*3)
'Sc\Scload\ScloadServiceProvider', // end of array
aliases, (*4)
'Scload' => 'Sc\Scload\ScloadServiceProvider', // end of array
Get Sounds by Keywords ..
$client_id = '33f65c0e45f566fdfb2eec92e05dffb1' ; // from soundcloud
$limit = 10; // set limit of return result
$word = 'any word';
Scload::getSounds($word , $limit , $client_id)
Get Download link from sound url ..
$client_id = '33f65c0e45f566fdfb2eec92e05dffb1' ; // from soundcloud
$url = 'https://soundcloud.com/almaghribi1/alkahfabkar';
Scload::getDownload($url , $client_id)