Skip to main content

Python wrapper for Ejabberd API.

Project description

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:

  • 29.8.2022. Added setup attribute

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EjabberdAPI-0.1.7.1.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

EjabberdAPI-0.1.7.1-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page