Skip to content

steinbart/voucherpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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