Advertisement
anovoselof

Это пример использования класса

Jul 1st, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1.         $wialon_api = new Wialon();
  2.         $user = WIALON_LOGIN;
  3.         $password = WIALON_PASS;
  4.         $result = $wialon_api->login($user, $password);
  5.        
  6.         $result = $wialon_api->get_report('102020', '7', strtotime('01.06.2017'), strtotime('10.06.2017'));
  7.         vd(json_decode($result,true));     
  8.        
  9.         // $result = $wialon_api->get_report_table();
  10.         // vd(json_decode($result,true));
  11.        
  12.         $result = $wialon_api->get_report_table_row();
  13.         vd(json_decode($result,true));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement