Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 957 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 957 Bytes

VoucherPI

Maintainability

VoucherPI is a simple, hacky script that prints out a freshly generated voucher using the Unifi API.

The implementation is hacky and needs to be worked on. Error handling is non-existant. It can and will crash.

API (Unifi)

You may use the Unifi API provided in this project for your own projects. The documentation can be found in the file.

Configuration

See settings.py.

Installation

This repository provides voucherpi.service, an expample systemd service file for this project.

Adjust neccesary parameters and copy to /etc/systemd/user/voucherpi.service. You can also create a link. You can also create a link.

  1. systemctl --user enable voucherpi
  2. systemctl --user start voucherpi

Maintainers