mirror of
https://github.com/koel/koel
synced 2024-12-21 10:03:10 +00:00
19 lines
423 B
PHP
19 lines
423 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\MediaInformation;
|
|
|
|
use App\Models\Artist;
|
|
use Illuminate\Http\JsonResponse;
|
|
|
|
class ArtistController extends Controller
|
|
{
|
|
/**
|
|
* Get extra information about an artist via Last.fm.
|
|
*
|
|
* @return JsonResponse
|
|
*/
|
|
public function show(Artist $artist)
|
|
{
|
|
return response()->json($this->mediaInformationService->getArtistInformation($artist));
|
|
}
|
|
}
|