Skip to content

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

Notifications You must be signed in to change notification settings

g-bhagwanani/py-trains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages