Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 878 Bytes

File metadata and controls

43 lines (39 loc) · 878 Bytes

Tickets checker for https://booking.uz.gov.ua/

Description

This is a tickets checker telegram bot for https://booking.uz.gov.ua/ site. You can not only check available tickets with the bot, but also set up some periodic inspection.

Project programming language is Go 1.12.

How to run

Install requirements

make update

Build for Linux (./build/uzTicketsMonitoring binary script will be created):

make build

Build for Windows (build/uzTicketsMonitoring.exe file will be created):

make build-windows

Create new file credentials.yaml and paste your personal token:

token: PASTE_YOUR_TOKEN_HERE

Run this bot locally:

go run main.go

Tests

Run tests:

make test

Run tests with coverage:

make test-cov

Clean after tests:

make clean