雅虎财经所有的货币报价API文档 [英] Yahoo Finance All Currencies quote API Documentation

查看:593
本文介绍了雅虎财经所有的货币报价API文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用这个料很长一段时间之中,我相信苹果确实它,以及在MAC小工具之一。但什么是真正奇怪的是,我根本找不到它的任何文件,我尝试过谷歌和一切。

I've being using this feed for a long time, I believe Apple does it as well in one of the mac widgets. but what is really curious is that I simply can't find any documentation for it, I've tried google and everything.

<一个href=\"http://finance.yahoo.com/webservice/v1/symbols/allcurrencies/quote\">http://finance.yahoo.com/webservice/v1/symbols/allcurrencies/quote

我可以用不同的参数,如查看=基本 日期= YMD人看到; 货币= TRUE 但它的可怕没有什么官方的。

I can see people using different parameters like view=basic date=Ymd; currency=true but it's horrible there isn't anything official.

现在我使用这些参数:

格式= JSON 回调=列表有时...

但它仍然对我来说是一个谜。有谁知道这件事的真相,因为它似乎是雅虎试图掩盖它在其他地方:)

But it is still a mystery for me. Does anyone know the real truth about it because it seems Yahoo is trying to hide it somewhere else :)

推荐答案

从我所做的研究,似乎没有为可供您使用的API的任何文件。根据你试图获取数据,我建议你使用雅虎的YQL API访问雅虎财经<一个href=\"http://www.yqlblog.net/blog/2009/06/02/getting-stock-information-with-yql-and-open-data-tables/\">(An例如,可以在这里找到)。或者,你可以尝试使用这种有据可查的方式来从雅虎财经得到CSV数据。

From the research that I've done, there doesn't appear to be any documentation available for the API you're using. Depending on the data you're trying to get, I'd recommend using Yahoo's YQL API for accessing Yahoo Finance (An example can be found here). Alternatively, you could try using this well documented way to get CSV data from Yahoo Finance.

编辑:

有已经在Yahoo开发者论坛,它看起来像没有文档(重点煤矿):

There has been some discussion on the Yahoo developer forums and it looks like there is no documentation (emphasis mine):

究其原因,缺乏文档是我们没有一个财经API 。这似乎有些逆向工程,他们用它来拉财务数据的API,但他们在做这个,所以我建议你避免使用这些Web服务打破了我们的服务(无财务数据的重新分配)的条款。

The reason for the lack of documentation is that we don't have a Finance API. It appears some have reverse engineered an API that they use to pull Finance data, but they are breaking our Terms of Service (no redistribution of Finance data) in doing this so I would encourage you to avoid using these webservices.

同时,你已经列出的URL可以使用YQL控制台,虽然我不精明,足以知道如何与它提取URL参数。

At the same time, the URL you've listed can be accessed using the YQL console, though I'm not savvy enough to know how to extract URL parameters with it.

这篇关于雅虎财经所有的货币报价API文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆