A python client for interacting with Openfire's REST API plugin.
Actively maintained. Last release 6 weeks ago. A safe choice.
$
pip install openfire-restapiREADME as published on PyPI with version 1.0.0.
openfire-restapi
A python client for interacting with Openfire's REST API plugin
Installation
Requires python >= 3.11 and REST API plugin >= 1.3.0
Install from PyPI:
pip install openfire-restapi
Install from source:
git clone git://github.com/allianceauth/openfire-restapi.git
cd openfire-restapi
pip install -e .
Usage
from openfire_restapi import OpenfireRestApiClient
api = OpenfireRestApiClient('http://example.com:9090', 's3cr3t_k3y`)
api.users.get_users()
See the full documentation for more information.
Development
For testing or building docs, install the optional dependencies:
pip install openfire-restapi[test,docs]
Or:
pip install -e .[test,docs]