Menu

21 May 2011

Need Project Intern to create better One-Click train searching algorithm

Suppose you want to find Train availability of train JAT BDTS SPL (09022) on 25-05-2011 From DELHI SAFDARJNG To BANDRA TERMINUS for GENERAL category

then you need to give this format to URL.


http://indiatrain.in/Rail/getAvailabilityMMT2.aspx?Train_No=09022&Station_From=DSJ&Station_To=BDTS&mDay=25&mMonth=5&mYear=2011&mClass=SL&mQuota=GN&temp=1305975273236

This GET command will return availability , You can perform same Operation to different trains for same day..

Different trains can be found via this command

http://erail.in/rail/getTrains.aspx?Station_From=NDLS&Station_To=BCT&DataSource=0

you can apply following javascript function to parse this response body (check out the source code of erail.in)

Now, When user try to search train availability from Station A to Station B then , our script can load availability of all possible trains in the same route and only display trains which has available seats..

Please contact info@elpacorp to get start this project..
Or join http://groups.google.com/group/oscontrib and discuss there..
Thanks

By- Narendra Sisodiya

Post a Comment