Ski Resort

Current

Ski resort conditions.

get/api/v1/ski/current/{location}

Request

  • Base URL: https://weatherapi.foreca.net
  • URL: https://weatherapi.foreca.net/api/v1/ski/current/{location}
  • Auth: HTTP bearer

Path parameters

locationstring required

"Longitude,latitude" or location identifier (id) from the location endpoint

Query parameters

sitesstring

Number of ski sites (default 1, maximum 5)

radiusstring

Maximum distance to ski site (default 500 km)

Response

Success

Example response

{
  "locations": [
    {
      "name": "Lake Louise",
      "countryCode": "ca",
      "countryName": "Canada",
      "state": "Alberta",
      "city": "Lake Louise, AB",
      "postalCode": "T0L 1E0",
      "street": "Banff National Park",
      "address": "Banff National Park, Lake Louise, AB, T0L 1E0",
      "longitude": -116.159228,
      "latitude": 51.439332,
      "openFrom": "08:30",
      "openUntil": "16:00",
      "isOpen": true,
      "altitudeBase": 1646,
      "altitudePeak": 2637,
      "primarySurfaceCondition": "Gripping snow",
      "liftsOpen": 2,
      "lifts": 7,
      "hasSkiing": true,
      "kmPistes": 139,
      "kmOpen": 7,
      "hasValleyRun": true,
      "valleyRunOpen": "true",
      "lastSnowDate": "2020-11-01",
      "snowDepthPeak": 52,
      "snowDepthBase": 43,
      "hasFunPark": true,
      "funParkOpen": true,
      "updated": "2020-11-05T00:00:00Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.