雅虎财经有多可靠?
例如,下面的请求:http://developer.yahoo.com/yql/console/?q=show%20tables&env=store://datatables.org/alltableswithkeys#h=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22YHOO%22%2C%22AAPL%22%2C%22GOOG%22%2C%22MSFT%22%29
断断续续地返回响应:“当前表'yahoo.finance.quotes‘已被阻塞,超出了分配的时间或指令配额”
以下是完整的响应:
<?xml version="1.0" encoding="UTF-8"?>
<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"
yahoo:count="0" yahoo:created="2013-04-08T11:16:18Z" yahoo:lang="en-US">
<diagnostics>
<publiclyCallable>true</publiclyCallable>
<url execution-start-time="24" execution-stop-time="25"
execution-time="1" proxy="DEFAULT"><![CDATA[http://www.datatables.org/yahoo/finance/yahoo.finance.quotes.xml]]></url>
<cache execution-start-time="27" execution-stop-time="27"
execution-time="0" method="GET" type="MEMCACHED"><![CDATA[13c4f8eac77ad886bade5a711c8c1ef5]]></cache>
<javascript name="yahoo.finance.quotes" verb="select"><![CDATA[The current table 'yahoo.finance.quotes' has been blocked. It exceeded the allotted quotas of either time or instructions]]></javascript>
<user-time>28</user-time>
<service-time>1</service-time>
<build-version>35405</build-version>
</diagnostics>
<results/>
</query>要获得可靠的服务,我需要注册并付费吗?
发布于 2013-09-06 02:03:19
要获得可靠的服务,我需要注册并付费吗?
以下是限制:
Public OAuth with API Key
Hourly Cap 2,000 20,000
Daily Cap None 100,000为了更好地理解上表中的速率限制,让我们使用以下示例。假设您创建了一个应用程序,该应用程序每小时为每个用户生成大约3000个请求。但是您会注意到,使用公共端点的用户最多只能有2,000个调用,因此您需要向Yahoo!使用经过身份验证/授权的终结点。现在,您的用户每小时可以发出20,000个请求,每天最多可达100,000个请求。
oAuth是free。
参考
https://stackoverflow.com/questions/15877710
复制相似问题