小编squ*_*art的帖子

雅虎按纬度和经度查询天气

我想使用雅虎查询通过纬度和经度获取一些天气数据.但似乎这个查询现在不可用.查询如下:

select * from weather.forecast where woeid in (SELECT woeid FROM geo.placefinder WHERE text="{lat},{lon}" and gflags="R")
Run Code Online (Sandbox Code Playgroud)

这个查询是改为新的还是什么?或者它不再存在?上次我使用这种格式是大约2个月前,它运作良好.但现在它无法获取任何数据.YQL控制台的结果如下:

{
 "error": {
  "lang": "en-US",
  "description": "Tenant 'query_yahooapis_com' access to 'Resource [tenantName=query_yahooapis_com, type=TABLE, name=geo.placefinder, locatorType=FILE, url=/home/y/share/manhattan/application/tenantBundles/yql_query_yahooapis_com_manhattan_v2/YQL-INF/restdefs/geo.placefinder.xml, useUrl=false]' is denied."
 }
}
Run Code Online (Sandbox Code Playgroud)

我已经做了一些研究,包括这篇文章:如何通过位置获得雅虎的祸害?

这是真的,雅虎已经终止这个纬度经度查询获取天气?

yql yahoo-weather-api

10
推荐指数
1
解决办法
1万
查看次数

Android TV模拟器语言环境

我想在Android TV模拟器中更改语言设置,以便我进行测试。但是看来,仿真器中只有英语可用。Google是否仍未在Android TV仿真器中实现其他语言环境?因为我要签入其他模拟器,所以我指的是电话还是其他,所以可以选择多种语言。

locale android-emulator

5
推荐指数
0
解决办法
341
查看次数

标签 统计

android-emulator ×1

locale ×1

yahoo-weather-api ×1

yql ×1