i have the following code to get some data from the yahoo finance API:
JSONObject data;
String q = "select * from yahoo.finance.quote where symbol in (\"TSLA\",\"NFLX\")";
void setup(){
data = loadJSONObject("https://query.yahooapis.com/v1/public/yql?" + q);
println(data);
}
but when i run this code i get the following error:
https://query.yahooapis.com/v1/public/yql?select * from yahoo.finance.quote where symbol in ("TSLA","NFLX") does not exist or could not be read
does this mean this api is depreciated? or do i have a wrong url? could someone help me with this? the yahoo developer website is incredibly unclear :(
thank you in advance!!!!