The objective of this interface is the ability to get data from an Admidio installation and use them in python. Currently Users, groups and events are integrated
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Rick bd325511f1 Checks if rol id exists. Fixes #3 6 years ago
.gitignore Update gitignore 6 years ago
LICENSE Initial commit 6 years ago
README.md Added a missing parameter of the admidio Class 6 years ago
__init__.py Fix to let it function as a library 6 years ago
admidio.py Data is now actually refreshed in refresh() method 6 years ago
event.py Checks if rol id exists. Fixes #3 6 years ago
exceptions.py First version 6 years ago
group.py updating more relative imports 6 years ago
member.py Add custom admidio db prefixes 6 years ago
requirements.txt Added requirements.txt 6 years ago

README.md

admidio-python-api

The objective of this interface is the ability to get data from an Admidio installation and use them in python. Current planned interfaces are Users and Groups.

There will be 3 modules available:

  • Amidio which has a list of all Groups and Users
  • Groups which has a list of the current Users that are in the group
  • Members which has all the profile data of a member

How to use

import admidio_python_api.admidio as admidio
adm = admidio.Admidio(mysql_host, mysql_user, mysql_password, mysql_database, db_prefix)

It will initialise all groups and users that are in the admidio installation.

Todo