Weather API forecast_hourly在过去24小时内启动,对于某些条目,在iconName成员中错误地返回值"1“,而不是字符串"clear”。我想它包含了不推荐使用的"icon“成员的值。它似乎适用于多种情况-文字描述各不相同-通过云,更多的太阳而不是云等。 您可以在此示例请求的响应中看到它: https://weather.ls.hereapi.com/weather/1.0/report.json?product=forecast_hourly&latitude=55.606416&longitude=12.589923&
Main.dartimport 'package:flutter_application_1/currentWeather.dart';
runApp(MyApp()); // This widget is the root of your application. Widget build(BuildContext context)
我对每小时天气预报的OpenWeatherMap应用编程接口有一个问题。我从这个api检索了5天/3小时的天气数据。但现在我想要每天的天气预报。Please see http://openweathermap.org/faq#error401 for more info."同时,我正在使用这个api获取每天的天气预报
https://pro.openweathermap.orglat=21&lon=39&appid