Unofficial command line tool for Zdrofit Polska API.
Commands
book
Usage without Docker
gozdrofit-cli book --url=https://example.com/ --username=username@mail.com --password=password --class.club-id=1 --class.name=Sztangi --class.date=2021-08-15 --class.hour-from=16 --class.hour-to=20
Usage with Docker
docker pull pochrymowicz/gozdrofit-cli:latest
docker run pochrymowicz/gozdrofit-cli:latest book --url=https://example.com/ --username=username --password=password --class.club-id=1 --class.name=Sztangi --class.date=2021-08-15 --class.hour-from=16 --class.hour-to=20
This command will book a class named Sztangi in club id 1 at 2021-08-15, and it will perform a lookup for a class
with start time between 16 and 20 (4PM and 8PM).