GET /

http://www.mobikey.eu/time/{K}/{DEVICE}/pwd/{PASSWORD}

{DEVICE}

{PASSWORD}

{K}

code identifying the remote device

password assigned to remote device

J for JSON response

callback for JSONP


EXAMPLE JSON :


http://www.mobikey.eu/time/J/gxl0/pwd/0000  


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data


RESPONSE DATA :


{

       "date": "16/01/13",

       "time": "10:21:25",

       "timezone": "Europe/Oslo",

       "offset": 1,

       "sunrise": "09:13",

       "sunset": "15:37"

}


EXAMPLE JSONP :


http://www.mobikey.eu/time/data/gxl0/pwd/0000  


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data



RESPONSE DATA :


data({

       "date": "16/01/13",

       "time": "10:21:25",

       "timezone": "Europe/Oslo",

       "offset": 1,

       "sunrise": "09:13",

       "sunset": "15:37"

});


- JSON/JSONP is returned without line breaks, to keep the data traffic as small as possible

- The information returned refer to the last update made by remote device