Introduction
What is a Web Service?
The Web Service offered by OnTheSnow.com/SkiInfo.com allows media organizations to add real time snow reports and resort information for ski resorts throughout the world. The OnTheSnow.com/SkiInfo.com web service uses HTTP requests to specific URLs, using URL parameters as arguments. The service returns the data as JSON for parsing and/or processing by your application.
Here is an example resort snowreport webservice request:
http://clientservice.onthesnow.com/externalservice/resort/[resort_id]/snowreport?token=[token]
where [resort_id] indicates the particular resort requested and [token] is the authorization token unique to your account.
Your authentication token is a required parameter. All service requests must include a valid token. Token information can be found here - Authentication/Credit Line Resource .
By default, the data is returned in imperial(inches, feet etc...). Language and Country parameters can be passed to change the language and metric type. Ex: &country=CH&language=de . More info can be found here - Language and Metrics
Getting Started
This will help you get started on the API, Country and Resorts choices. Get Started
- Authentication
- Locales
- Countries
- Fields and their usage.
REST Resources
This API supports a Representational State Transfer (REST) model for accessing a set of resources through a fixed set of operations. The following resources are accessible through the RESTful model:
- Authentication/Credit Line Resource Every service request must pass a valid authentication token paramter
- Regions Resource - Regions give the geography for resorts.
- Resort Resource - The endpoints and data for resorts.
- Fields - List of available fields and examples
- Getting Started - Quick steps to get started.
- Country Field Usage - Each country has different approach to ski reporting.
- FAQ
Languages And Metrics
Defaults:: English (www.onthesnow.com), Imperial.The language and metric type can be changed by passing a language and country parameter. Example:
http://clientservice.onthesnow.com/externalservice/resort/20/snowreport?token=abcdefghi123456789&country=at&language=de
Note: By default, the data is returned in imperial(inches, feet etc...). You must include both language and country in your query string to override the default language/metric.
We currently support the following languages:
language | Country | Metric | Site |
cs | CZ | Metric | www.onthesnow.cz |
da | DK | Metric | www.skiinfo.dk |
de | DE | Metric | www.skiinfo.de |
de | AT | Metric | at.skiinfo.com |
de | CH | Metric | de.skiinfo.ch |
en | US | Imperial | www.onthesnow.com |
en | AU | Metric | www.onthesnow.com.au |
en | CA | Metric | www.onthesnow.ca |
en | GB | Metric | www.onthesnow.co.uk |
en | NZ | Metric | www.onthesnow.co.nz |
es | ES | Metric | www.skiinfo.es |
es | MX | Metric | www.onthesnow.com.mx |
fr | FR | Metric | www.skiinfo.fr |
fr | BE | Metric | fr.skiinfo.be |
fr | CA | Metric | fr.onthesnow.ca |
fr | CH | Metric | fr.skiinfo.ch |
it | IT | Metric | www.skiinfo.it |
it | CH | Metric | it.skiinfo.ch |
nl | NL | Metric | www.skiinfo.nl |
nl | BE | Metric | nl.skiinfo.be |
no | NO | Metric | www.skiinfo.no |
pl | PL | Metric | www.skiinfo.pl |
pt | BR | Metric | www.onthesnow.com.br |
ru | RU | Metric | www.onthesnow.ru |
sk | SK | Metric | www.onthesnow.sk |
sv | SE | Metric | www.skiinfo.se |