TypeScript
import { MtnManagerApi, Configuration } from "@mtnmanager/sdk";
const api = new MtnManagerApi(
new Configuration({
basePath: "https://your-resort.mtnmanager.com",
})
);
try {
const data = await api.getWeather();
console.log(data);
} catch (error) {
console.error(error);
}package main
import (
"context"
"fmt"
mtnmanager "github.com/mtnmanager/mtnmanager-sdk-go"
)
func main() {
configuration := mtnmanager.NewConfiguration()
configuration.Servers = mtnmanager.ServerConfigurations{
{URL: "https://your-resort.mtnmanager.com"},
}
client := mtnmanager.NewAPIClient(configuration)
data, _, err := client.MtnManagerAPI.GetWeather(context.Background()).Execute()
if err != nil {
panic(err)
}
fmt.Printf("%+v\n", data)
}<?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;
}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)")
}curl --request GET \
--url https://{subdomain}.mtnmanager.com/api/v1/report/weatherimport requests
url = "https://{subdomain}.mtnmanager.com/api/v1/report/weather"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{subdomain}.mtnmanager.com/api/v1/report/weather', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://{subdomain}.mtnmanager.com/api/v1/report/weather")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.mtnmanager.com/api/v1/report/weather")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"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"
}
]API Endpoints
Get Weather
GET
/
api
/
v1
/
report
/
weather
TypeScript
import { MtnManagerApi, Configuration } from "@mtnmanager/sdk";
const api = new MtnManagerApi(
new Configuration({
basePath: "https://your-resort.mtnmanager.com",
})
);
try {
const data = await api.getWeather();
console.log(data);
} catch (error) {
console.error(error);
}package main
import (
"context"
"fmt"
mtnmanager "github.com/mtnmanager/mtnmanager-sdk-go"
)
func main() {
configuration := mtnmanager.NewConfiguration()
configuration.Servers = mtnmanager.ServerConfigurations{
{URL: "https://your-resort.mtnmanager.com"},
}
client := mtnmanager.NewAPIClient(configuration)
data, _, err := client.MtnManagerAPI.GetWeather(context.Background()).Execute()
if err != nil {
panic(err)
}
fmt.Printf("%+v\n", data)
}<?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;
}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)")
}curl --request GET \
--url https://{subdomain}.mtnmanager.com/api/v1/report/weatherimport requests
url = "https://{subdomain}.mtnmanager.com/api/v1/report/weather"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{subdomain}.mtnmanager.com/api/v1/report/weather', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://{subdomain}.mtnmanager.com/api/v1/report/weather")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.mtnmanager.com/api/v1/report/weather")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"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"
}
]Headers
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.
Response
Current weather conditions
Show child attributes
Show child attributes
Hourly forecast for next 24 hours (including current hour)
Show child attributes
Show child attributes
Daily forecast for next 7 days (including today)
Show child attributes
Show child attributes
Data source attribution
Example:
"https://developer.apple.com/weatherkit/data-source-attribution/"
When this data was last updated
The area this weather belongs to, or omitted for resort-wide weather.
The area's name, or omitted for resort-wide weather.
The area's display order, or omitted for resort-wide weather.
⌘I