Reply to this topicStart new topic
Yahoo Finance
text.mining
post Nov 14 2009, 05:33 PM
Post #1
Group: Members
Posts: 1



Hi
I need to write a method that searches a ticker in Yahoo Finance, and inserts all the results (URL's) into an ArrayList.
I've looked for Yahoo Finance API, but as far as I understood there it doesn't exist.

Is there a simple way doing this?

Thanks
Go to the top of the page
 
+Quote Post
Jonathan LeBlanc
post Dec 1 2009, 07:24 AM
Post #2
Group: Yahoos
Posts: 942



YQL might be the best method for you to be able to do this. You can make a request to a specific HTML page and capture page data via the xpath. Here's an example of what I mean: http://developer.yahoo.com/yql/console/?q=...Ful%2Fli%2Fa%27

You can just make a cURL or file_get_contents request to the REST query provided in the console after you hit test.

Jonathan LeBlanc
Technology Evangelist
Yahoo! Developer Network
Twitter: jcleblanc
Go to the top of the page
 
+Quote Post
lokesh
post Dec 10 2009, 11:26 AM
Post #3
Group: Members
Posts: 1



hi do you provide yahoo finance api.
where can i find the documentation that a developer can see to use your api. i have been searching for that from so much of time and till now i dint got the clear documentation of full api available

1>see using this link i know i can get quotes

http://download.finance.yahoo.com/d/quotes.csv?s=
i came to know about flags then
2>but how to look up the stock symbols. i dont find any api for that.

is there is no any api for that
Go to the top of the page
 
+Quote Post
Dustin Whittle
post Dec 22 2009, 01:30 PM
Post #4
Group: Yahoos
Posts: 113



QUOTE (lokesh @ Dec 10 2009, 11:26 AM) *
hi do you provide yahoo finance api.
where can i find the documentation that a developer can see to use your api. i have been searching for that from so much of time and till now i dint got the clear documentation of full api available

1>see using this link i know i can get quotes

http://download.finance.yahoo.com/d/quotes.csv?s=
i came to know about flags then
2>but how to look up the stock symbols. i dont find any api for that.

is there is no any api for that


Lokesh,

YQL provides that api here: http://query.yahooapis.com/v1/public/yql?q...&format=xml
Go to the top of the page
 
+Quote Post
« Next Oldest · Java Development · Next Newest »
 

Reply to this topicStart new topic

 



rss YDN Forum RSS feeds

YDN Content Copyright © 2010 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network - Send Your Suggestions