npm package: @mtnmanager/sdk
Description: SDK for interacting with the MtnManager API, providing real-time access to your ski resort's public operational data.
Author: OpenAPI-Generator
Latest version: 1.2.1

# MtnManager TypeScript SDK

SDK for interacting with the MtnManager API, providing real-time access to your ski resort’s public operational data.

For more information, please visit [https://mtnmanager.com](https://mtnmanager.com)

## Usage

First, install the SDK from npm.

```bash
npm install @mtnmanager/sdk --save
```

Next, try it out.


```ts
import {
  Configuration,
  MtnManagerApi,
} from '@mtnmanager/sdk';
import type { GetFullReportRequest } from '@mtnmanager/sdk';

async function example() {
  console.log("🚀 Testing @mtnmanager/sdk SDK...");
  const config = new Configuration({
    basePath: "https://api.mtnmanager.com",
  });
  const api = new MtnManagerApi(config);

  try {
    const data = await api.getFullReport();
    console.log(data);
  } catch (error) {
    console.error(error);
  }
}

// Run the test
example().catch(console.error);
```


## Documentation

### API Endpoints

All URIs are relative to *https://your-resort.mtnmanager.com*

| Class | Method | HTTP request | Description
| ----- | ------ | ------------ | -------------
*MtnManagerApi* | [**getFullReport**](docs/MtnManagerApi.md#getfullreport) | **GET** /api/v1/report | Get full report
*MtnManagerApi* | [**getHours**](docs/MtnManagerApi.md#gethours) | **GET** /api/v1/report/hours | Get operating hours
*MtnManagerApi* | [**getLifts**](docs/MtnManagerApi.md#getlifts) | **GET** /api/v1/report/lifts | Get lifts
*MtnManagerApi* | [**getOverview**](docs/MtnManagerApi.md#getoverview) | **GET** /api/v1/report/overview | Get overview
*MtnManagerApi* | [**getParkingLots**](docs/MtnManagerApi.md#getparkinglots) | **GET** /api/v1/report/parking-lots | Get parking lots
*MtnManagerApi* | [**getRuns**](docs/MtnManagerApi.md#getruns) | **GET** /api/v1/report/runs | Get runs
*MtnManagerApi* | [**getSnow**](docs/MtnManagerApi.md#getsnow) | **GET** /api/v1/report/snow | Get snow conditions
*MtnManagerApi* | [**getSummerTrails**](docs/MtnManagerApi.md#getsummertrails) | **GET** /api/v1/report/summer-trails | Get summer trails
*MtnManagerApi* | [**getTerrainParks**](docs/MtnManagerApi.md#getterrainparks) | **GET** /api/v1/report/terrain-parks | Get terrain parks
*MtnManagerApi* | [**getWeather**](docs/MtnManagerApi.md#getweather) | **GET** /api/v1/report/weather | Get weather


### Models

- [AmenityCalendarEntry](docs/AmenityCalendarEntry.md)
- [AmenityCategory](docs/AmenityCategory.md)
- [AmenitySchedule](docs/AmenitySchedule.md)
- [CalendarDay](docs/CalendarDay.md)
- [ClosureReason](docs/ClosureReason.md)
- [CurrentWeather](docs/CurrentWeather.md)
- [CurrentWeatherImperial](docs/CurrentWeatherImperial.md)
- [CurrentWeatherMetric](docs/CurrentWeatherMetric.md)
- [DailyForecast](docs/DailyForecast.md)
- [DailyForecastImperial](docs/DailyForecastImperial.md)
- [DailyForecastMetric](docs/DailyForecastMetric.md)
- [DayOfWeek](docs/DayOfWeek.md)
- [FeatureSize](docs/FeatureSize.md)
- [FeatureType](docs/FeatureType.md)
- [FullReport](docs/FullReport.md)
- [HourlyForecast](docs/HourlyForecast.md)
- [HourlyForecastImperial](docs/HourlyForecastImperial.md)
- [HourlyForecastMetric](docs/HourlyForecastMetric.md)
- [Lift](docs/Lift.md)
- [LiftStatus](docs/LiftStatus.md)
- [LiftType](docs/LiftType.md)
- [OperatingHours](docs/OperatingHours.md)
- [Overview](docs/Overview.md)
- [ParkingLot](docs/ParkingLot.md)
- [ParkingLotStatus](docs/ParkingLotStatus.md)
- [Region](docs/Region.md)
- [ResortInfo](docs/ResortInfo.md)
- [ResortStatus](docs/ResortStatus.md)
- [Run](docs/Run.md)
- [RunDifficulty](docs/RunDifficulty.md)
- [RunStatus](docs/RunStatus.md)
- [Schedule](docs/Schedule.md)
- [SeasonType](docs/SeasonType.md)
- [SnowMetrics](docs/SnowMetrics.md)
- [SnowReport](docs/SnowReport.md)
- [SummerTrail](docs/SummerTrail.md)
- [SummerTrailDifficulty](docs/SummerTrailDifficulty.md)
- [SummerTrailStatus](docs/SummerTrailStatus.md)
- [SummerTrailType](docs/SummerTrailType.md)
- [SurfaceCondition](docs/SurfaceCondition.md)
- [TerrainPark](docs/TerrainPark.md)
- [TerrainParkFeature](docs/TerrainParkFeature.md)
- [TerrainParkFeatureStatus](docs/TerrainParkFeatureStatus.md)
- [TerrainParkStatus](docs/TerrainParkStatus.md)
- [UnitPreference](docs/UnitPreference.md)
- [Weather](docs/Weather.md)
- [WeatherConditionCode](docs/WeatherConditionCode.md)

### Authorization

Endpoints do not require authorization.


## License

[MIT]()