Dishair / lanbilling

API wrapper for LANBilling (http://lanbilling.ru)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LANBilling

Installation:

$ git clone https://github.com/brdk/lanbilling.git
$ cd lanbilling
$ python setup.py install

Usage:

To use, simply do:

>>> from lanbilling import LANBilling
>>> lbapi = LANBilling(manager='admin', password='', host='127.0.0.1', port=1502)
>>> account = lbapi.getAccount({'uid': 1})
>>> agreement = lbapi.getAgreement(agrm_id=1)

To show all possible methods:

>>> lbapi.help()

To get help for method usage:

>>> lbapi.help('getAccount')

About

API wrapper for LANBilling (http://lanbilling.ru)

License:GNU General Public License v2.0


Languages

Language:Python 100.0%