/order-monitor

Project allows to use API from zakaz.ua (delivery_schedule/plan) and send message to Telegram if slot is available. It really helps in COVID-19 quarantine situation when most slots are busy.

Primary LanguageGo

Project allows to use API from zakaz.ua (delivery_schedule/plan) and send message to Telegram if slot is available. It really helps in COVID-19 quarantine situation when most slots are busy.

Config.json should be placed in root folder.

 BotAPIKey  string `mapstructure:"bot_api_key"`
 TargetURL  string `mapstructure:"target_url"`
 ChatID     int64  `mapstructure:"chat_id"`
 MessageURL string `mapstructure:"message_url"

Target url example https://stores-api.zakaz.ua/stores/48215611/delivery_schedule/plan/