import processing.net.*; Client c; void setup() { // host is download.finance.yahoo.com c = new Client(this, "download.finance.yahoo.com", 80); // Connect to server on port 80 // yahoo web service URLs // more info: http://developer.yahoo.com/yql/guide/yql_url.html // add a line break at the end of your get request c.write("GET http://download.finance.yahoo.com/d/quotes.csv?s=XOM+BBDb.TO+JNJ+MSFT&f=snd1l1yr\n"); // Use the HTTP "GET" command to ask for a Web page } void draw() { if (c.available() > 0) { // If there's incoming data from the client... String data = c.readString(); // ...then grab it and print it println(data); } }