Skip to content

Instantly share code, notes, and snippets.

View toddanglin's full-sized avatar

Todd Anglin toddanglin

View GitHub Profile
@mikesprague
mikesprague / weatherkit-condition-codes.ts
Last active August 15, 2025 19:25
WeatherKit condition codes
// WeatherKit REST API documentation lists `conditionCode` as a property returned for
// various DataSets and says it's an enumeration value
// (e.g. https://developer.apple.com/documentation/weatherkitrestapi/currentweather/currentweatherdata)
// but never says what the possible return values could be anywhere in the REST API docs
//
// The following was created from info in the Swift documentation: https://developer.apple.com/documentation/weatherkit/weathercondition
export interface ConditionCode {
code: string;
description: string;