public __construct ( string $key = null, string $secret = null, |
||
$key | string | Last.fm API key. |
$secret | string | Last.fm API shared secret. |
$client | The Guzzle HTTP client. |
public function __construct($key = null, $secret = null, Client $client = null)
{
parent::__construct($key ?: config('koel.lastfm.key'), $secret ?: config('koel.lastfm.secret'), 'https://ws.audioscrobbler.com/2.0', $client ?: new Client());
}