@@ -2567,30 +2567,28 @@ static + htmlWindows: Array < HTMLView >;
25672567 * const weather = await NotePlan.getWeather("imperial", 0, 0);
25682568 * console.log(weather.formatted);
25692569 *
2570- * @returns {Object } weather - Weather data object
2571- * @returns {string } weather.formatted - Pre-formatted markdown weather output with emojis
2572- * @returns {string } weather.cityName - City name (from IP location or reverse geocoding)
2573- * @returns {number } weather.temperature - Current temperature
2574- * @returns {string } weather.temperatureUnit - Temperature unit symbol (°C or °F)
2575- * @returns {number } weather.apparentTemperature - Feels-like temperature
2576- * @returns {number } weather.humidity - Humidity percentage
2577- * @returns {number } weather.windSpeed - Wind speed
2578- * @returns {string } weather.windSpeedUnit - Wind speed unit (m/s or mph)
2579- * @returns {number } weather.windDirection - Wind direction in degrees
2580- * @returns {number } weather.uvIndex - UV index
2581- * @returns {string } weather.condition - Weather condition description
2582- * @returns {string } weather.emoji - Weather emoji based on condition
2583- * @returns {string } weather.iconCode - OpenWeatherMap icon code
2584- * @returns {number } weather.visibility - Visibility distance
2585- * @returns {string } weather.visibilityUnit - Visibility unit (km)
2586- * @returns {number } weather.highTemp - Today's high temperature
2587- * @returns {number } weather.lowTemp - Today's low temperature
2588- * @returns {string } weather.sunrise - Sunrise time (formatted as h:mm AM/PM)
2589- * @returns {string } weather.sunset - Sunset time (formatted as h:mm AM/PM)
2590- * @returns {Object } weather.location - Location coordinates
25912570 * @returns {number } weather.location.latitude - Latitude
25922571 * @returns {number } weather.location.longitude - Longitude
25932572 * @returns {string } weather.location.cityName - City name
2573+ * @returns {string } weather.location.state - State/administrative area
2574+ * @returns {string } weather.location.region - Region/sub-administrative area
2575+ * @returns {string } weather.location.country - Country name
2576+ * @returns {string } weather.location.countryCode - ISO country code
2577+ * @returns {string } weather.location.postalCode - Postal/ZIP code
2578+ * @returns {string } weather.location.subLocality - Sub-locality
2579+ * @returns {string } weather.location.thoroughfare - Street address
2580+ * @returns {string } weather.location.ipAddress - IP address (only when using IP-based detection)
2581+ * @returns {number } weather.location.ipVersion - IP version (only when using IP-based detection)
2582+ * @returns {string } weather.location.capital - Capital city (only when using IP-based detection)
2583+ * @returns {Array<string> } weather.location.phoneCodes - Phone country codes (only when using IP-based detection)
2584+ * @returns {Array<string> } weather.location.timeZones - Time zones (only when using IP-based detection)
2585+ * @returns {string } weather.location.continent - Continent name (only when using IP-based detection)
2586+ * @returns {string } weather.location.continentCode - Continent code (only when using IP-based detection)
2587+ * @returns {Array<string> } weather.location.currencies - Currency codes (only when using IP-based detection)
2588+ * @returns {Array<string> } weather.location.languages - Language codes (only when using IP-based detection)
2589+ * @returns {string } weather.location.asn - Autonomous System Number (only when using IP-based detection)
2590+ * @returns {string } weather.location.asnOrganization - ASN organization name (only when using IP-based detection)
2591+ * @returns {boolean } weather.location.isProxy - Whether the IP is a proxy (only when using IP-based detection)
25942592 */
25952593 static getWeather ( units : string , latitude : number , longitude : number ) : Promise < Object > ;
25962594}
0 commit comments