Documentation

Here you can find sample code to implement our API.


import urllib # Python URL functions
import urllib2 # Python URL functions
url = "You can find http API url from http://indianrailapi.com/IndianRail/API" # API URL
req = urllib2.Request(url)
response = urllib2.urlopen(req)
output = response.read() # Get Response
print output # Print Response
Contributed By : Raj Shekhar
Note: If you are too beginner in development, you can use our services in Rs. 500.(Only for paid users.) (C#.Net, VB.Net, JQuery, AngularJS Only.)
Developers are requested to contact at admin@indianrailapi.com with sample code to become support members. Sample code must be uploaded in github, google drive and so on.