Skip to content

WeatherDailyForecastAPI

WinExp edited this page Jun 7, 2022 · 2 revisions

WeatherDailyForecastAPI.GetWeatherDailyForecastAsync()

使用方法

await QWeatherAPI.WeatherDailyForecastAPI.GetWeatherDailyForecastAsync(arguments)

作用

提供获取每日预报功能。

参数

1.GetWeatherDailyForecastAsync(string id, string key, string lang = "zh", Units unit = Units.Metric, DailyCount dailyCount = DailyCount._3Day)

2.GetWeatherDailyForecastAsync(double lon, double lat, string key, string lang = "zh", Units unit = Units.Metric, DailyCount dailyCount = DailyCount._3Day)