go-stine
STiNE CLI / library written in/for golang.
You can find more details about STiNE here:
Installation
Linux
Download and unpack the latest release:
# download
curl -O -L https://github.com/irgendwr/go-stine/releases/latest/download/stine_Linux_x86_64.tar.gz
# unpack
tar -xvzf stine_Linux_x86_64.tar.gz
# copy to folder in $PATH
sudo cp ./stine /usr/bin/stine
Create a file called .stine.yaml
(either inside your home folder or the folder containing the program) (e.g. using nano ~/.stine.yaml
) and edit it to fit your needs.
See config section for examples.
Config
If no config file is specified using the -c
/--config
flag, the program looks for a file called .stine.yaml
in the following paths:
- Program directory (path the
stine
binary is in)
- CWD (current working directory)
- Home folder
Note: Do not use Tabs! Indent config with spaces instead.
Example:
username: baw1234
password: your-password-here
Usage
List of commands and flags: stine help
Examples
Export a schedule: stine scheduler export Y2020M07 -o ./2020_07.ics
List exams: stine exams
List all exam results: stine examresults -a
Build
Run make
.
Contributing
Contributions are welcome! Feel free to open an issue, or even better: submit a pull-request.