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.

24 lines
796 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. # admidio-python-api
  2. The objective of this interface is the ability to get data from an ![Admidio](https://github.com/admidio) installation and use them in python. Current planned interfaces are Users and Groups.
  3. There will be 3 modules available:
  4. * **Amidio** which has a list of all Groups and Users
  5. * **Groups** which has a list of the current Users that are in the group
  6. * **Members** which has all the profile data of a member
  7. ## How to use
  8. ```python
  9. import admidio_python_api.admidio as admidio
  10. adm = admidio.Admidio(mysql_host, mysql_user, mysql_password, mysql_database, db_prefix)
  11. ```
  12. It will initialise all groups and users that are in the admidio installation.
  13. ## Todo
  14. * [x] Add events to the API.
  15. * [x] Integrate custom admidio prefixes.
  16. * [ ] Multiple admidio organisations.