Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 790 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 790 Bytes

Wialon

Wialon is a Python wrapper for Remote Api. (Now with support for Python 3 since v1.0.2)

For async implementation please check o-murphy:py-aiowialon

Installation

pip install python-wialon

Usage

from wialon import Wialon, WialonError

try:
    wialon_api = Wialon()
    # old username and password login is deprecated, use token login
    result = wialon_api.token_login(token='YOUR WIALON USER TOKEN')
    wialon_api.sid = result['eid']

    result = wialon_api.avl_evts()

    wialon_api.core_logout()
except WialonError as e:
    pass

API Documentation

Wialon Remote Api documentation