Api
API e' un acronimo che sta per Application Programming Interface (Interfaccia di Programmazione di un'Applicazione). SkiCams.it offre la possibilita' di costruire applicazioni o servizi web che si appoggiano al database delle webcam. Il servizio ad oggi supporta richieste HTTP e risponde in formato JSON, seguono le specifiche:
The service currently supports json:
GET /cams.json
Retrieve the big list of all cams.
curl example:
curl -i http://skicams.it/cams.json
output:
{
"1":
{
"name":"Abetone"
"prov": "PT",
"cams":
{
"1":
{
"name":"Abetone - Val di Luce",
"url":"http:\/\/www.meteo-system.com\/stazioni\/valdiluce.jpg"
"lat":"..."
"long":"..."
"source":"..."
},
"4":
{
"name":"La piazza",
"url":"..."
...
schema:
{
"LOCATION_ID":
{
"name": "NOME_LOCALITA"
"prov": "PROVINCIA",
"cams":
{
"CAM_ID":
{
...
},
