sscholz93 / pynami

Python package for the DPSG NAMI API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: GPL v3

pynami

This is a basic implementation that accesses the DPSG NAMI API and offers some primitives. Currently this is in alpha state. Anything may change at any time.

Features

Here is a list of the things are currently supported:

  • Search for a Mitglied
  • Show details for a Mitglied
  • Update / change a Mitglied
  • View Ausbildungen of a Mitglied
  • View history of a Mitglied
  • Search, view and update Tätigkeiten
  • Get all the default values and their ids (e.g. nationalities). This will become important when you want to create e.g. a Mitglied
  • Dashboard functionality:
    • View notifications
    • View group history entries
    • View statistics about your group
  • Group admin stuff:
    • View and download invoices as pdf
  • Führungszeugnis:
    • Download application form as pdf
    • View and download certificate of inspections

Todo

Since there is currently no working test setup for the NAMI some things cannot be tested (without endangering the production system).

  • Creating a Mitglied/Tätigkeit
  • Deleting a Mitglied/Tätigkeit
  • Stufenwechsel
  • Edit a Ausbildung

Requirements

You need to have at least Python 3.6 for this to work.

Installation

Just download or clone this repository and run the following command in the top directory (where setup.py is located).

pip install [-e] .

Use the -e option if you want to edit the source files.

Documentation

Documentation of this package is available at ReadtheDocs. This also covers a lot of the NAMI API. General documenation for the NAMI API is very few and partially outdated at DPSG Confluence. You can also check the NAMI community forums at https://ncm.dpsg.de/.

Similar projects

There are other projects that can help you access the DPSG NAMI API:

Credits

The base of this package is taken from https://github.com/webratz/pynami.

About

Python package for the DPSG NAMI API

License:GNU General Public License v3.0


Languages

Language:Python 100.0%