> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mtnmanager.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Weather



## OpenAPI

````yaml GET /api/v1/report/weather
openapi: 3.1.0
info:
  title: MtnManager API
  description: >-
    The MtnManager API provides real-time access to your ski resort’s public
    operational data. Use it to display current conditions on your website,
    mobile app, or digital signage.
  termsOfService: https://mtnmanager.com/terms
  contact:
    name: MtnManager Support
    url: https://docs.mtnmanager.com/developer/
    email: support@mtnmanager.com
  license:
    name: MIT
    identifier: MIT
  version: 1.0.0
servers:
  - url: https://{subdomain}.mtnmanager.com
    variables:
      subdomain:
        default: your-resort
        description: Your resort's unique subdomain
security: []
paths:
  /api/v1/report/weather:
    get:
      tags:
        - MtnManager
      summary: Get weather
      operationId: getWeather
      parameters:
        - in: header
          name: Accept-Language
          description: >-
            Preferred language and optional region for human-readable strings in
            the response (e.g. operating hours summaries). Supports `en`, `fr`,
            `de`, `it`, and `es`, with optional region tags such as `fr-CA` or
            `de-CH`. Defaults to English when omitted or unsupported.
          schema:
            type: string
          example: fr-CA
          style: simple
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Weather'
              example:
                - current:
                    imperial:
                      temperature: 28
                      feels_like: 22
                      snowfall: 2
                      precipitation: 0
                      wind_speed: 12
                      wind_gust: 18
                    metric:
                      temperature: -2
                      feels_like: -6
                      snowfall: 5
                      precipitation: 0
                      wind_speed: 19
                      wind_gust: 29
                    condition: Light Snow
                    condition_code: Snow
                    wind_direction: 270
                    wind_direction_cardinal: W
                    timestamp: '2026-01-26T16:26:33+00:00'
                  hourly_forecast:
                    - timestamp: '2026-01-26T16:26:33+00:00'
                      imperial:
                        temperature: 28
                        feels_like: 22
                        snowfall: 1
                        precipitation: 0
                        wind_speed: 12
                        wind_gust: 18
                      metric:
                        temperature: -2
                        feels_like: -6
                        snowfall: 3
                        precipitation: 0
                        wind_speed: 19
                        wind_gust: 29
                      condition: Light Snow
                      condition_code: Snow
                      precipitation_probability: 65
                  daily_forecast:
                    - date: '2024-12-26'
                      imperial:
                        temperature_high: 32
                        temperature_low: 18
                        snowfall_total: 6
                        precipitation_total: 0
                        wind_speed_max: 25
                        wind_gust_max: 35
                      metric:
                        temperature_high: 0
                        temperature_low: -8
                        snowfall_total: 15
                        precipitation_total: 0
                        wind_speed_max: 40
                        wind_gust_max: 56
                      condition: Light Snow
                      condition_code: Snow
                      precipitation_probability: 65
                      sunrise: '2026-01-26T16:26:33+00:00'
                      sunset: '2026-01-26T16:26:33+00:00'
                  attribution: >-
                    https://developer.apple.com/weatherkit/data-source-attribution/
                  updated_at: '2026-01-26T16:26:33+00:00'
        '403':
          description: Endpoint not available for this resort. Feature may be disabled.
        '404':
          description: Resort not found.
        '429':
          description: Too many requests, temporarily rate limited.
        '500':
          description: An unexpected server error occurred.
        '503':
          description: Service temporarily unavailable.
      x-codeSamples:
        - lang: typescript
          label: TypeScript
          source: "import { MtnManagerApi, Configuration } from \"@mtnmanager/sdk\";\n\nconst api = new MtnManagerApi(\n\tnew Configuration({\n\t\tbasePath: \"https://your-resort.mtnmanager.com\",\n\t})\n);\n\ntry {\n    const data = await api.getWeather();\n    console.log(data);\n} catch (error) {\n    console.error(error);\n}"
        - lang: go
          label: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\tmtnmanager \"github.com/mtnmanager/mtnmanager-sdk-go\"\n)\n\nfunc main() {\n\tconfiguration := mtnmanager.NewConfiguration()\n\tconfiguration.Servers = mtnmanager.ServerConfigurations{\n\t\t{URL: \"https://your-resort.mtnmanager.com\"},\n\t}\n\tclient := mtnmanager.NewAPIClient(configuration)\n\n\tdata, _, err := client.MtnManagerAPI.GetWeather(context.Background()).Execute()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"%+v\\n\", data)\n}"
        - lang: php
          label: PHP
          source: |-
            <?php
            require_once(__DIR__ . '/vendor/autoload.php');

            $config = MtnManager\Configuration::getDefaultConfiguration()
                ->setHost('https://your-resort.mtnmanager.com');

            $apiInstance = new MtnManager\Api\MtnManagerApi(
                new GuzzleHttp\Client(),
                $config
            );

            try {
                $result = $apiInstance->getWeather();
                print_r($result);
            } catch (Exception $e) {
                echo 'Exception: ', $e->getMessage(), PHP_EOL;
            }
        - lang: swift
          label: Swift
          source: |-
            import MtnManagerSDK

            let config = MtnManagerSDKAPIConfiguration(
                basePath: "https://your-resort.mtnmanager.com"
            )

            do {
                let data = try await MtnManagerAPI.getWeather(apiConfiguration: config)
                print(data)
            } catch {
                print("Error: \(error)")
            }
components:
  schemas:
    Weather:
      description: |-
        Current and forecasted weather conditions for the resort's location.
         Only included/available if the weather feature is enabled and GPS coordinates are configured.
      type: object
      properties:
        area_uuid:
          description: >-
            The area this weather belongs to, or omitted for resort-wide
            weather.
          type:
            - string
            - 'null'
        area_name:
          description: The area's name, or omitted for resort-wide weather.
          type:
            - string
            - 'null'
        area_display_order:
          description: The area's display order, or omitted for resort-wide weather.
          type:
            - integer
            - 'null'
          format: int32
        current:
          description: Current weather conditions
          allOf:
            - $ref: '#/components/schemas/CurrentWeather'
        hourly_forecast:
          description: Hourly forecast for next 24 hours (including current hour)
          type: array
          items:
            $ref: '#/components/schemas/HourlyForecast'
        daily_forecast:
          description: Daily forecast for next 7 days (including today)
          type: array
          items:
            $ref: '#/components/schemas/DailyForecast'
        attribution:
          description: Data source attribution
          type: string
          examples:
            - https://developer.apple.com/weatherkit/data-source-attribution/
        updated_at:
          description: When this data was last updated
          type: string
          format: date-time
      required:
        - current
        - hourly_forecast
        - daily_forecast
        - attribution
        - updated_at
      examples:
        - current:
            imperial:
              temperature: 28
              feels_like: 22
              snowfall: 2
              precipitation: 0
              wind_speed: 12
              wind_gust: 18
            metric:
              temperature: -2
              feels_like: -6
              snowfall: 5
              precipitation: 0
              wind_speed: 19
              wind_gust: 29
            condition: Light Snow
            condition_code: Snow
            wind_direction: 270
            wind_direction_cardinal: W
            timestamp: '2026-01-26T16:26:33+00:00'
          hourly_forecast:
            - timestamp: '2026-01-26T16:26:33+00:00'
              imperial:
                temperature: 28
                feels_like: 22
                snowfall: 1
                precipitation: 0
                wind_speed: 12
                wind_gust: 18
              metric:
                temperature: -2
                feels_like: -6
                snowfall: 3
                precipitation: 0
                wind_speed: 19
                wind_gust: 29
              condition: Light Snow
              condition_code: Snow
              precipitation_probability: 65
          daily_forecast:
            - date: '2024-12-26'
              imperial:
                temperature_high: 32
                temperature_low: 18
                snowfall_total: 6
                precipitation_total: 0
                wind_speed_max: 25
                wind_gust_max: 35
              metric:
                temperature_high: 0
                temperature_low: -8
                snowfall_total: 15
                precipitation_total: 0
                wind_speed_max: 40
                wind_gust_max: 56
              condition: Light Snow
              condition_code: Snow
              precipitation_probability: 65
              sunrise: '2026-01-26T16:26:33+00:00'
              sunset: '2026-01-26T16:26:33+00:00'
          attribution: https://developer.apple.com/weatherkit/data-source-attribution/
          updated_at: '2026-01-26T16:26:33+00:00'
    CurrentWeather:
      description: Current weather conditions with both metric and imperial units
      type: object
      properties:
        imperial:
          description: Measurements in imperial units
          allOf:
            - $ref: '#/components/schemas/CurrentWeatherImperial'
        metric:
          description: Measurements in metric units
          allOf:
            - $ref: '#/components/schemas/CurrentWeatherMetric'
        condition:
          description: Human-readable weather condition
          type: string
          examples:
            - Light Snow
        condition_code:
          description: Weather condition code
          allOf:
            - $ref: '#/components/schemas/WeatherConditionCode'
        wind_direction:
          description: Wind direction in degrees (0-360)
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 270
        wind_direction_cardinal:
          description: Wind direction as cardinal direction (N, NE, E, SE, S, SW, W, NW)
          type:
            - string
            - 'null'
          examples:
            - W
        timestamp:
          description: Timestamp of observation
          type: string
          format: date-time
      required:
        - imperial
        - metric
        - condition
        - condition_code
        - timestamp
    HourlyForecast:
      description: Hourly weather forecast entry with both metric and imperial units
      type: object
      properties:
        timestamp:
          description: Forecast timestamp
          type: string
          format: date-time
        imperial:
          description: Measurements in imperial units
          allOf:
            - $ref: '#/components/schemas/HourlyForecastImperial'
        metric:
          description: Measurements in metric units
          allOf:
            - $ref: '#/components/schemas/HourlyForecastMetric'
        condition:
          description: Human-readable condition
          type: string
          examples:
            - Light Snow
        condition_code:
          description: Weather condition code
          allOf:
            - $ref: '#/components/schemas/WeatherConditionCode'
        precipitation_probability:
          description: Probability of precipitation (0-100%)
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 65
      required:
        - timestamp
        - imperial
        - metric
        - condition
        - condition_code
    DailyForecast:
      description: Daily weather summary with both unit systems
      type: object
      properties:
        date:
          description: Date of forecast (YYYY-MM-DD format)
          type: string
          format: date
          examples:
            - '2024-12-26'
        imperial:
          description: Measurements in imperial units
          allOf:
            - $ref: '#/components/schemas/DailyForecastImperial'
        metric:
          description: Measurements in metric units
          allOf:
            - $ref: '#/components/schemas/DailyForecastMetric'
        condition:
          description: Human-readable condition
          type: string
          examples:
            - Light Snow
        condition_code:
          description: Condition code
          allOf:
            - $ref: '#/components/schemas/WeatherConditionCode'
        precipitation_probability:
          description: Probability of precipitation (0-100%)
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 65
        sunrise:
          description: Sunrise time
          type: string
          format: date-time
        sunset:
          description: Sunset time
          type: string
          format: date-time
      required:
        - date
        - imperial
        - metric
        - condition
        - condition_code
        - sunrise
        - sunset
    CurrentWeatherImperial:
      description: Current temperature and precipitation measurements in imperial units
      type: object
      properties:
        temperature:
          description: Temperature in Fahrenheit
          type: integer
          format: int32
          examples:
            - 28
        feels_like:
          description: Feels like temperature in Fahrenheit
          type: integer
          format: int32
          examples:
            - 22
        snowfall:
          description: Snowfall in inches
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 2
        precipitation:
          description: Precipitation in inches
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 0
        wind_speed:
          description: Wind speed in mph
          type: integer
          format: int32
          examples:
            - 12
        wind_gust:
          description: Wind gust in mph
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 18
      required:
        - temperature
        - feels_like
        - wind_speed
    CurrentWeatherMetric:
      description: Current temperature and precipitation measurements in metric units
      type: object
      properties:
        temperature:
          description: Temperature in Celsius
          type: integer
          format: int32
          examples:
            - -2
        feels_like:
          description: Feels like temperature in Celsius
          type: integer
          format: int32
          examples:
            - -6
        snowfall:
          description: Snowfall in centimeters
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 5
        precipitation:
          description: Precipitation in millimeters
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 0
        wind_speed:
          description: Wind speed in km/h
          type: integer
          format: int32
          examples:
            - 19
        wind_gust:
          description: Wind gust in km/h
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 29
      required:
        - temperature
        - feels_like
        - wind_speed
    WeatherConditionCode:
      description: Weather condition code
      type: string
      enum:
        - Clear
        - Cloudy
        - Foggy
        - Haze
        - MostlyClear
        - MostlyCloudy
        - PartlyCloudy
        - Smoky
        - BlowingDust
        - Breezy
        - Windy
        - Drizzle
        - HeavyRain
        - IsolatedThunderstorms
        - Rain
        - SunShowers
        - ScatteredThunderstorms
        - StrongStorms
        - Thunderstorms
        - Frigid
        - Hail
        - Hot
        - Flurries
        - Sleet
        - Snow
        - SunFlurries
        - WintryMix
        - Blizzard
        - BlowingSnow
        - FreezingDrizzle
        - FreezingRain
        - HeavySnow
        - Hurricane
        - TropicalStorm
        - Unknown
    HourlyForecastImperial:
      description: Hourly forecast measurements in imperial units
      type: object
      properties:
        temperature:
          description: Temperature in Fahrenheit
          type: integer
          format: int32
          examples:
            - 28
        feels_like:
          description: Feels like temperature in Fahrenheit
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 22
        snowfall:
          description: Snowfall amount expected this hour in inches
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 1
        precipitation:
          description: Precipitation amount expected this hour in inches
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 0
        wind_speed:
          description: Wind speed in mph
          type: integer
          format: int32
          examples:
            - 12
        wind_gust:
          description: Wind gust in mph
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 18
      required:
        - temperature
        - wind_speed
    HourlyForecastMetric:
      description: Hourly forecast measurements in metric units
      type: object
      properties:
        temperature:
          description: Temperature in Celsius
          type: integer
          format: int32
          examples:
            - -2
        feels_like:
          description: Feels like temperature in Celsius
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - -6
        snowfall:
          description: Snowfall amount expected this hour in centimeters
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 3
        precipitation:
          description: Precipitation amount expected this hour in millimeters
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 0
        wind_speed:
          description: Wind speed in km/h
          type: integer
          format: int32
          examples:
            - 19
        wind_gust:
          description: Wind gust in km/h
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 29
      required:
        - temperature
        - wind_speed
    DailyForecastImperial:
      description: Daily forecast measurements in imperial units
      type: object
      properties:
        temperature_high:
          description: High temperature in Fahrenheit
          type: integer
          format: int32
          examples:
            - 32
        temperature_low:
          description: Low temperature in Fahrenheit
          type: integer
          format: int32
          examples:
            - 18
        snowfall_total:
          description: Total snowfall expected in inches
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 6
        precipitation_total:
          description: Total precipitation expected in inches
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 0
        wind_speed_max:
          description: Maximum wind speed in mph
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 25
        wind_gust_max:
          description: Maximum wind gust in mph
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 35
      required:
        - temperature_high
        - temperature_low
    DailyForecastMetric:
      description: Daily forecast measurements in metric units
      type: object
      properties:
        temperature_high:
          description: High temperature in Celsius
          type: integer
          format: int32
          examples:
            - 0
        temperature_low:
          description: Low temperature in Celsius
          type: integer
          format: int32
          examples:
            - -8
        snowfall_total:
          description: Total snowfall expected in centimeters
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 15
        precipitation_total:
          description: Total precipitation expected in millimeters
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 0
        wind_speed_max:
          description: Maximum wind speed in km/h
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 40
        wind_gust_max:
          description: Maximum wind gust in km/h
          type:
            - integer
            - 'null'
          format: int32
          examples:
            - 56
      required:
        - temperature_high
        - temperature_low

````