:py:mod:`pywebui` ================= .. py:module:: pywebui Subpackages ----------- .. toctree:: :titlesonly: :maxdepth: 3 tcpip/index.rst Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 alerts/index.rst cluster/index.rst connector/index.rst disks/index.rst exceptions/index.rst identifiers/index.rst licenses/index.rst packages/index.rst parameters/index.rst processes/index.rst queues/index.rst reports/index.rst response/index.rst system/index.rst users/index.rst Package Contents ---------------- Classes ~~~~~~~ .. autoapisummary:: pywebui.Connector .. py:class:: Connector(host) Connection class. .. py:attribute:: token .. py:method:: __init__(self, host) Creates instance of connection. :param host: Server address :type host: str .. rubric:: Example >>> c = pywebui.Connector('http://11.12.132.21:8082') >>> c.login('testuser', 'testuser') .. py:method:: login(self, username, password) Authorizes connection instance on server. .. py:method:: get(self, url, **query_params) .. py:method:: post(self, url, json={}, **query_params) .. py:method:: put(self, url, json={}, **query_params) .. py:method:: delete(self, url, json={}, **query_params) .. py:method:: get_version(self) -> str Returns version of WebUI Administration Tool.