One Logo Pool Ball
WeatherKit · IOS API REFERENCE

HourlyWeatherStatisticsQuery

struct · iOS 18.0+ · SDK 27.1

struct HourlyWeatherStatisticsQuery<T> where T : Decodable, T : Encodable, T : Equatable, T : Sendable

A structure that encapsulates a generic hourly weather statistics dataset request. Use the properties of this structure to create an hourly weather statistics query. You can combine multiple queries into a single `WeatherService` request. Here's how to get hourly weather statistics for New York City: ``` let (hourlyTemperatureStatistics) = try await service.hourlyStatistics(for: newYork, spanning: timeInterval, including: .temperature) ```

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All WeatherKit types →