Question

I am trying to get the realtime stockquotes from google for some time now. First I try'd the finance api, but that didd'nt work out.

Then I saw this query and it seems to good to be true

http://www.google.com/finance/info?client=ig&q=goog

It must have some drawbacks that I am not aware off now.

Anyway, it does give realtime, at least that what it is says on the google finance page

Does anyone know if I can add more parameters for the query like + YAHOO (this is falty) so I can get more then one stock??

Also, is the output in json or do Y have to parse it differently? I was planning to do this with curl and ajax

thanks, Richard

Was it helpful?

Solution

You can just add more ticker symbols with a comma, as in:

http://www.google.com/finance/info?client=ig&q=goog,msft

The response is indeed json. There is a good discussion on Stackoverflow about using the first-class Google Finance APIs to get stock quotes here: How can I get stock quotes using Google Finance API?

OTHER TIPS

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top