当我尝试使用gFlags进行查询时,使用Yahoo YQL不会返回任何结果。 https://developer.yahoo.com/yql/console/?debug=true#h=select+从+ geo.placefinder * + + +其中文本%3D%2237.416275%2C-122.025092%22 +和+ GFLAGS%3D'R”使用gFlags的Yahoo YQL查询不会返回任何内容
响应:
<?xml version="1.0" encoding="UTF-8"?>
<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"
yahoo:count="0" yahoo:created="2016-01-20T16:07:28Z" yahoo:lang="en-US">
<diagnostics>
<publiclyCallable>true</publiclyCallable>
<url execution-start-time="16" execution-stop-time="21"
execution-time="5" http-status-code="503" http-status-message="Service Unavailable"><![CDATA[http://gws2.maps.yahoo.com/findlocation?pf=1&locale=en_US&offset=15&flags=&q=37.416275%2c-122.025092&gflags=R&start=0&count=100]]></url>
<user-time>22</user-time>
<service-time>5</service-time>
<build-version>0.2.376</build-version>
</diagnostics>
<results/>
</query>
当我删除GFLAGS,有一个成功的结果。例如: https://developer.yahoo.com/yql/console/?debug=true#h=select+ * + +从+ geo.placefinder其中+文本%3D%2237.416275%2C-122.025092%22
我需要使用GFLAGS访问WOEID属性(从POI,根据文档:https://developer.yahoo.com/boss/geo/docs/free_YQL.html )
我注意到,即使在雅虎的YQL测试控制台中,这也被破坏了,但是,响应中有一个503不可用状态: “url”:{ “execution-start-time”:“1”, “execution-停止时间“:”7“,” “执行时间”:“6”, e“:”服务不可用“, ”content“:”http://gws2.maps.yahoo.com/findlocation?pf=1&locale=zh_CN&offset=15&flags=&q=37.416275%2c-122.025092&gflags=R&start=0&count=100 “ } –
哦,现在感觉了。我试图从API中找到一个“状态页面”,但似乎没有。 –