GET /

http://www.mobikey.eu/traffic/{K}/{START}/{DAYS}/{DEVICE}/pwd/{PASSWORD}

{DEVICE}

{PASSWORD}

{K}



{START}

{DAYS}

code identifying the remote device

password assigned to remote device

J for JSON response

H formatted HTML page

callback for JSONP

Period end date YYYY-MM-DD

Number of days before the specified date


EXAMPLE JSON:


http://www.mobikey.eu/traffic/J/2021-10-30/3/rm4vc9/pwd/0000  




HTTP STATUS CODE RESPONSE :


200

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



RESPONSE DATA :


[

  {

    "date":"2021-12-31",

    "data_tx":0.045574,

    "data_rx":0.015903,

    "data":0.061477,

    "sms_tx":0,

    "sms_rx":0,

    "sms":0

  },{

   

    "date":"2021-12-30",

    "data_tx":0,

    "data_rx":0,

    "data":0,

    "sms_tx":0,

    "sms_rx":1,

    "sms":1

  },{

   

    "date":"2021-12-29",

    "data_tx":0.034753,

    "data_rx":0.024519,

    "data":0.059272,

    "sms_tx":0,

    "sms_rx":0,

    "sms":0

  }

]



EXAMPLE JSONP :


http://www.mobikey.eu/traffic/data/2021-10-30/3/rm4vc9/pwd/0000  


HTTP STATUS CODE RESPONSE :


200

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



RESPONSE DATA :


data([

  {

    "date":"2021-12-31",

    "data_tx":0.045574,

    "data_rx":0.015903,

    "data":0.061477,

    "sms_tx":0,

    "sms_rx":0,

    "sms":0

  },{

   

    "date":"2021-12-30",

    "data_tx":0,

    "data_rx":0,

    "data":0,

    "sms_tx":0,

    "sms_rx":1,

    "sms":1

  },{

   

    "date":"2021-12-29",

    "data_tx":0.034753,

    "data_rx":0.024519,

    "data":0.059272,

    "sms_tx":0,

    "sms_rx":0,

    "sms":0

  }

]);



EXAMPLE HTML :


http://www.mobikey.eu/traffic/H/2021-10-30/3/rm4vc9/pwd/0000