The following PHP code (on Laravel) has been running for several months until today, when I receive a 502 error message indicating that the connection was refused:
$url = "https://query.yahooapis.com/v1/public/yql?q=select+%2A+from+yahoo.finance.quotes+where+symbol+in+%28%27YHOO%27%29&format=json&env=%20store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=";
$data = file_get_contents($url);
dd($data);
When I enter the Yahoo Developer Console to check, I can simply request public data. However, when I try to use the console to access any of the community data like this , the following is returned to me (this error occurs with the entire DataTables community):
{
"error": {
"lang": "en-US",
"diagnostics": {
"url": {
"execution-start-time": "0",
"execution-stop-time": "7",
"execution-time": "7",
"http-status-code": "502",
"http-status-message": "Connection refused",
"content": "http://www.datatables.org/yahoo/finance/yahoo.finance.quotes.xml"
}
},
"description": "No definition found for Table yahoo.finance.quotes"
}
}
Using a different computer / IP address, I can access these community tables just fine, as long as I remain anonymous. As soon as I log into the Yahoo Developer Console, the message "Connection refused" appears again.
, - Yahoo, , IP- , script (3000) .
URL-, content node, , . , node API, IP-.
, / .