The OpenSnowMap so called ‘API’ just had a major refresh.
This is the piece of code that tells you what piste is what when you click on it, list the ones currently on the map and find pistes when you search them by name. It also computes resorts statistics, and so on.
Once based on Osmosis, it is now built on top of a DB created by Osm2pgsql, thanks to the nice work done with its flex-output (and doc!) in the past years. Even the routing function is now directly integrated in the same database.
Normally, you won’t notice big differences when using OpenSnowMap.org, except a huge performance improvement in the requests response delay: in the process all database queries have been optimized and the code simplified.