Skip to content
Wialon Remote API PHP library
Branch: master
Clone or download
Latest commit 362ab71 Dec 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore 1.0.0.1 release Jul 1, 2013
LICENSE token support added Oct 8, 2015
README.md readme updated Oct 8, 2015
wialon.php fix urlencode Dec 28, 2017

README.md

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

You can’t perform that action at this time.