So when I open this in my browser
<?php
$endpoint = "http://query.yahooapis.com/v1/public/yql";
$query = urlencode('select * from yahoo.finance.quotes where symbol in ("ABBY.L")');
$ch = curl_init($endpoint.'?q='.$query);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
if (curl_error($ch)){
die(curl_error($ch));
}
curl_close($ch);
echo'<pre>';
//$result = json_decode($result);
print_r($result);
?>
I get the error No definition found for Table yahoo.finance.quotes. I was wondering if anyone had a fix to this. Any help would be great. Thanks!
Seems that Yahoo! no longer provides yahoo.finance.quotes table(s). You can see all available tables in YQL console. (http://developer.yahoo.com/yql/console/)