Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ev1313/pretix-aqbanking
A small application for synchronizing transactions with a pretix instance using aqbanking and curl.
https://github.com/ev1313/pretix-aqbanking
Last synced: about 2 months ago
JSON representation
A small application for synchronizing transactions with a pretix instance using aqbanking and curl.
- Host: GitHub
- URL: https://github.com/ev1313/pretix-aqbanking
- Owner: ev1313
- License: mit
- Created: 2018-06-21T20:25:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-04T18:50:28.000Z (about 5 years ago)
- Last Synced: 2024-06-15T23:36:33.048Z (3 months ago)
- Language: C
- Size: 12.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pretix-aqbanking
This tool serves the same purpose pretix-banktool does, however it uses the widely used aqbanking API, packaged in several distributions.
### Installation
Install aqbanking and compile pretix-aqbanking using either gcc or clang:
```
clang main.c -I /usr/include/aqbanking5 -I /usr/include/gwenhywfar4 -lcurl -lgwenhywfar -laqbanking -Wall -Wpedantic -Wextra -o pretix-aqbanking
```### Usage
Just configure your aqbanking account (for example using aqbanking-cli, or other programs like gnucash) and look for your account:
```
pretix-aqbanking --list
```Afterwards you can test it by printing all available transactions (wildcards are possible, so if you only got one account you can use "*"):
```
pretix-aqbanking --list_transactions ""
```Then you can simply send all transactions to the pretix instance, you only need to add the event name, pretix url and pretix token.
```
pretix-aqbanking --send_transactions "" "" "" ""
```