Skip to content
This repository has been archived by the owner. It is now read-only.

ojgenbar/RZDTicketsMonitor

Repository files navigation

Sorry, but this is outdated :(

RZD Tickets Monitor

This is RZD Tickets monitor.

Run as Telegram bot

  1. Install Python 3.7+ and requirements.txt:

      python3.7 -m venv venv
      source venv/bin/activate
      pip install -r requirements.txt
    
  2. Also you need to set env variables:

    • RZD_TICKETS_MONITOR_BOT_TOKEN=BOT_TOKEN
    • RZD_TICKETS_MONITOR_BOT_PROXY=SOCKS5 or HTTP proxy
  3. Start bot (with env variables):

    RZD_TICKETS_MONITOR_BOT_TOKEN=... \
    RZD_TICKETS_MONITOR_BOT_PROXY=... \
    python  run_bot.py
    

Run as terminal app

  1. Show help:

     python run_terminal.py -h
    
  2. Run:

     python  run_terminal.py \
     --type Купе --count 2 \
     2004000 2000000 001А 31.01.2020
    

Run as docker

  1. Create file .env with env variables: RZD_TICKETS_MONITOR_BOT_TOKEN and RZD_TICKETS_MONITOR_BOT_PROXY (optional).
  2. docker-compose up -d

About

RZD Tickets Monitor. Chose day, train, car type and tickets count - Monitor will notify you!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published