Python wrapper for the Ejabberd API (WIP).
Anar al arxiu
spla 91adee9fa5 Added setup attribute 2022-08-29 12:34:00 +02:00
ejabberdapi Added setup attribute 2022-08-29 12:34:00 +02:00
LICENSE First release 2022-08-24 19:00:55 +02:00
README.md First release 2022-08-24 19:00:55 +02:00
setup.py Fix typo 2022-08-24 19:10:01 +02:00

README.md

EjabberdAPI

Python wrapper for the Ejabberd API (WIP).

Sample usage:

from ejabberdapi import Ejabberd  

ejabberd = Ejabberd("ejabberd_secrets_file")  

ejabberd_secrets_file is a txt file you must create with the following parameters:

api_base_url: local Ejabberd node, API listening port. In ex. http://127.0.0.1:5280
local_vhost: your local ejabberd vhost, in ex. ejabberd@localhost
admin_account: the ejabberd admin account, in ex. admin@ejabberd.server
admin_pass: ejabberd admin account password

Current implemented Ejabberd endpoints: