【问题标题】:Here API Weather Icon此处 API 天气图标
【发布时间】:2020-07-02 16:26:08
【问题描述】:

正在开发天气应用,但在此处找不到任何天气图标。

在 Json 响应中有这样的:

icon: "5"
iconLink: "https://weather.ls.hereapi.com/static/weather/icon/4.png"
iconName: "high_clouds"

但是iconLink不起作用,它显示未经授权。

documentations 中,Json 响应中的链接有效,但它是 API 提供的不同链接。

我找不到任何对这方面有帮助的东西。

【问题讨论】:

    标签: javascript json api here-api weather-api


    【解决方案1】:

    我认为您需要在 URL 的末尾添加 API 令牌,如下所示: https://weather.ls.hereapi.com/static/weather/icon/4.png?apiKey={APIKEY}

    【讨论】:

      猜你喜欢
      • 2013-07-06
      • 2011-06-25
      • 1970-01-01
      • 2019-04-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-19
      相关资源
      最近更新 更多