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.
 
Dennis Potter 292b046b62
Data is now actually refreshed in refresh() method
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 Added dat_cat_id to Event class 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