Metadata-Version: 2.1
Name: EjabberdAPI
Version: 0.1.2
Summary: Python wrapper for the [Ejabberd](https://www.ejabberd.im) API.
Home-page: https://git.mastodont.cat/pla/EjabberdAPI.py
Author: spla
Author-email: spla@catala.digital
Project-URL: Bug Tracker, https://git.mastodont.cat/spla/EjabberdAPI.py/issues
Keywords: ejabberd xmpp chat omemo
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Communications
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: XMPP
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# EjabberdAPI
Python wrapper for Ejabberd API.

Python wrapper for the [Ejabberd](https://www.ejabberd.im) API (WIP).  

# Sample usage:  

'''
from ejabberdapi import Ejabberd  

ejabberd = Ejabberd("ejabberd_secrets_file")  
'''

`ejabberd_secrets_file` is a 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  
