Skip to content

wialon/php-wialon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP classes for Wialon Remote API

Wialon - allows to perform any Wialon Remote API requests according to documentation. cUrl required.

WialonError - simple convert Wialon error codes to text messages.

Usage

	include('wialon.php');
	$wialon_api = new Wialon();

	// old username and password login is deprecated, use token login
	$token = 'Your token here';
	$result = $wialon_api->login($token);
	$json = json_decode($result, true);
	if(!isset($json['error'])){
		echo $wialon_api->core_search_item('{"id":717359,"flags":0x1}');
		$wialon_api->logout();
	} else {
		echo WialonError::error($json['error']);
	}

Documentation

Wialon Remote Api documentation
New authorization way

About

Wialon Remote API PHP library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages