Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

made-with-python

py-trains

A python program that scrapes Indian Railways data from railyatri.in to find trains for a given source and destination running on a given date.

Installation

To run py-trains, you will need python3 and some additional packages. To install those packages, simply use the following command:

$ pip3 install -r requirements.txt

Usage

You need to pass arguments using the CLI itself to use py-trains

e.g. To get trains from Mumbai Bandra Terminus to Pune Junction on 22nd December, 2019:

$ python3 trains.py BDTS PUNE 22 12 2019

About

Scraping data from railyatri.in to find trains for a given source and destination on a given date

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages