Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 660 Bytes

File metadata and controls

30 lines (22 loc) · 660 Bytes

pyActiveCollab

Python bindings for Active Collab 3.x/4.x

Example

List system information

import pyActiveCollab as pyac
import json

ac = pyac.activeCollab("~/.activeCollab")
print json.dumps(json.loads(ac.get_info()), indent=4, sort_keys=True)

Change log level

To change the log level just initialialize your object with info, error, debug

import pyActiveCollab as pyac
import json

ac = pyac.activeCollab("~/.activeCollab", log_level="debug")
print json.dumps(json.loads(ac.get_info()), indent=4, sort_keys=True)

References

PHP API documentation: