All of the available docs on Finance are at developer.yahoo.com/finance. I've never worked with these so I can't give you any insight. I did a quick web search on them though and there are a number of results that suggest some people have figured this out.
Try searching for 'Yahoo finance api'. Hope that helps!