GET /

http://www.mobikey.eu/time/{K}/{DEVICE}/key/{TIME}/{SIG}

{DEVICE}

{TIME}

{SIG}

{K}

code identifying the remote device

message timestamp

message signature

J for JSON response

callback for JSONP


EXAMPLE JSON :


http://www.mobikey.eu/time/J/gxl0/key/1450857297/bWsBeiWhM/teC1XWjjh5J...


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/key/1450857297/bWsBeiWhM/teC1XWjjh5J...


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