IBSng Python Driver
This library provides access on IBSng JSON-RPC API.
Support
Python 2.7.x
Python 3.x.x
Install
Pyibsng is accessible by pip.
$ pip install pyibsng
Get Started
Getting started document.
To start using this library we need to import IBSng package:
from ibsng import IBSng
Test Authentication:
con = IBSng("user:password@http://ip:port")
con.auth()
Get all charge info:
charges = con.charge.getChargeInfo("sample1")
print(charges.result)
print(charges.json)
To have list of all handlers and methods, checkout handlers.xml.
Current Handler Support
Description |
Methods |
Status |
|---|---|---|
admin |
11 |
Stable |
appnama |
2 |
Stable |
bw |
25 |
Stable |
charge |
10 |
Stable |
extra_charge |
6 |
Stable |
group |
11 |
Stable |
invoice |
24 |
Stable |
ippool |
11 |
Stable |
isp |
14 |
Stable |
ldap |
9 |
Stable |
log_console |
1 |
Stable |
login |
3 |
Stable |
perm |
14 |
Stable |
ras |
16 |
Stable |
session |
3 |
Stable |
stat |
3 |
Stable |
system_notification |
2 |
Stable |
user |
39 |
Stable |
user_custom_field |
4 |
Stable |
util |
22 |
Stable |
voip_provider |
2 |
Stable |
voucher |
10 |
Stable |
Under Development
Incompleted handlers:
telephony_support
mc
online_payment
notification
snapshot
report
Incompleted sections:
tests
Contribute
If you find a bug or have an update, kindly create an issue in github page and send us a pull request.
To write new module, checkout write-module document.
Release files for pyibsng 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyibsng-1.2.7.tar.gz | 47.7 kB | Details |
Release files / pyibsng-1.2.7.tar.gz
| Download URL | pyibsng-1.2.7.tar.gz |
|---|---|
| Size | 47.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b3f7dc1401e0aa429b6ebcb1e2a950db903318eb364fbe08bde7f699e7f0095
|
|
BLAKE2b-256 checksum How to use checksums |
24e0b2d46481a83b36ea44f2bdf4282fba907dc14fd6b10f0317cebf16ebddc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |