@ 2017-07-08T21:30:31Z <?php
$spotify1="https://itunes.apple.com/search?term=";
$spotify2=" - ";
$spotify3="&limit=1";
$spotify_url = "https://itunes.apple.com/search?term=Kylie+Minogue";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$spotify_url);
$spotify = curl_exec($ch);
curl_close($ch);
$obj = json_decode($spotify);
//$total = $obj->resultCount->results;
//$img640_url = $obj->resultCount[0]->results[1]->artworkUrl100;
echo $img640_url;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.31 , 7.1.0 - 7.1.21 , 7.2.0 - 7.2.33 , 7.3.16 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.7 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/ApDAt:16
Stack trace:
#0 {main}
thrown in /in/ApDAt on line 16
Process exited with code 255 . preferences:dark mode live preview
170.84 ms | 404 KiB | 205 Q