Welcome to Python i-doit JSON-RPC API’s documentation!¶
Contents:
Introduction¶
Installation¶
From a tarball release¶
Download the most recent tarball from github, unpack it and run the following command on the command-line.
$ python setup.py install
Install the development version¶
Install git and run the following commands on the command-line.
$ git clone https://github.com/DinoTools/python-idoit.git
$ cd python-idoit
$ python setup.py install
Usage¶
API Reference¶
Low-Level¶
Classes¶
-
class
idoit.
CMDBCategory
(api=None, api_params=None)[source]¶ -
read
(object_id, category=None, catg_id=None, cats_id=None)[source]¶ Read one or more category entries for an object.
Use only one of the optional parameters category, catg_id or cats_id.
Parameters: - object_id (int) – Object identifier
- category (str) – Category constant
- catg_id (int) – Global category identifier
- cats_id (int) – Specific category identifier
Returns: List of result objects
Return type: dict[]
-