Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 434 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 434 Bytes

Check free place

A quick script to notify about the availability of seats on the train.

Development

Installation

Clone the repository: https://github.com/Gon4ar5/check_free_place.git

Install dependencies:

  • gem install xpath
  • gem install curb
  • gem install nokogiri
  • gem install colorize

To run the script:

ruby check_free_place.rb [date in format YYYY-MM-DD]

Example:

ruby check_free_place.rb 2021-10-24