Api 从雅虎获得口语

Api 从雅虎获得口语,api,web,yahoo,yql,yahoo-api,Api,Web,Yahoo,Yql,Yahoo Api,如何使用YQL获取一个国家的口语 我的做法是: select lang from geo.countries where name ="Italy" 但我总是把英语作为语言: { "query": { "count": 1, "created": "2015-12-27T23:43:58Z", "lang": "en-US", "diagnostics": { "publiclyCallable": "true", "url": { "execution-

如何使用YQL获取一个国家的口语

我的做法是:

select lang from geo.countries where name ="Italy"
但我总是把英语作为语言:

{
 "query": {
  "count": 1,
  "created": "2015-12-27T23:43:58Z",
  "lang": "en-US",
  "diagnostics": {
   "publiclyCallable": "true",
   "url": {
    "execution-start-time": "28",
    "execution-stop-time": "98",
    "execution-time": "70",
    "content": "http://wws.geotech.yahooapis.com/v1/countries;start=0;count=1000"
   },
   "user-time": "103",
   "service-time": "70",
   "build-version": "0.2.369"
  },
  "results": {
   "place": {
    "lang": "en-US" // wrong language!
   }
  }
 }
}
您可以在这里使用YQL控制台:

根据,
lang
不是口语

标题中
部分用于标识请求-响应中的语言

results
中,它用于识别用于描述当地地名的语言

我担心GeoPlanet API不会返回口语、货币等信息。它的重点是地理位置(坐标、州、县等),并提供多种语言的地名。

根据
lang
不是口语

标题中
部分用于标识请求-响应中的语言

results
中,它用于识别用于描述当地地名的语言

恐怕GeoPlanet API将而不是返回口语、货币等信息。它的重点是地理位置(坐标、州、县等),并以多种语言提供地名