【问题标题】:Where is the documentation for the return values of the IBM Weather Service?IBM Weather Service 的返回值的文档在哪里?
【发布时间】:2017-01-12 13:14:10
【问题描述】:

我没有找到 Weather Service REST Api 调用的所有返回值的完整文档

这只是像https://twcservice.mybluemix.net/rest-api/这样的JSON描述 但是每个值是什么意思?

例如: “rh”:? “wspd”:? "wdir": ?

有一个入门https://new-console.ng.bluemix.net/docs/services/Weather/index.html?pos=2,但我没有找到完整的文档。

这是 JSON 的一个示例 ...

 "forecasts": [
    {
      "class": "string",
      "expire_time_gmt": 0,
      "fcst_valid": 0,
      "fcst_valid_local": "2016-09-05",
      "temp": 0,
      "icon_extd": 0,
      "icon_code": 0,
      "dow": "string",
      "phrase_12char": "string",
      "phrase_22char": "string",
      "phrase_32char": "string",
      "pop": 0,
      "precip_type": "string",
      "rh": 0,
      "wspd": 0,
      "wdir": 0,
      "wdir_cardinal": "string",
      "gust": 0,
      "mslp": 0,
      "num": 0,
      "day_ind": "string",
      "dewpt": 0,
      "hi": 0,
      "wc": 0,
      "feels_like": 0,
      "subphrase_pt1": "string",
      "subphrase_pt2": "string",
      "subphrase_pt3": "string",
      "qpf": 0,
      "snow_qpf": 0,
      "clds": 0,
      "uv_index_raw": 0,
      "uv_index": 0,
      "uv_desc": "string",
      "uv_warning": 0,
      "golf_index": 0,
      "golf_category": "string",
      "severity": 0
    }

【问题讨论】:

    标签: weather-api


    【解决方案1】:

    我发现Weather Company Data API(仍然是 Bluemix,但现在已弃用)的文档提供了更多信息。

    例如,它说:

    rh:(整数)白天空气的相对湿度,[...] 始终以百分比表示。

    wspd:(整数)预测的最大白天风速。

    wdir:(整数)磁记法的日间平均风向。

    【讨论】:

      【解决方案2】:

      所有返回值的完整文档可以在这里找到:https://www.worldcommunitygrid.org/lt/images/climate/The_Weather_Company_APIs.pdf

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-10-15
        • 1970-01-01
        • 2018-11-09
        • 2019-03-07
        • 1970-01-01
        • 2017-04-08
        相关资源
        最近更新 更多