I want to integrate Get PNR status feature in my application but dont have any api call to get it. Is there any public api call available to get current Indian Railways PNR status. If yes please provide that call and calling pattern.
It is there you can use this url http://pnrapi.appspot.com/+ tenDigitPNRNumber
you can check here for more
or you can go for erail
Find trains--> request URL: http://erail.in/rail/getTrains.aspx?Station_From=GWL&Station_To=NDLS&DataSource=0&Language=0
---trains pattern
---Train items
//Use this regex to get the value
reg=re.compile(r'\^\d+\~[A-Za-z0-9 ]+')
---train numbers from train items
reg=re.compile(r'\d+')
---train names from train items
reg=re.compile(r'[A-Za-z0-9 ]+')
Find Availability--> request URL : http://indiatrain.in/Rail/getAvailabilityMMT2.aspx?Train_No=11077&Station_From=GWL&Station_To=NDLS&mDay=10&mMonth=10&mYear=2011&mClass=3A&mQuota=GN&temp=1318195420696
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With