INDIA-RAILWAY-TRAIN
India Railway Train Retrieval Script Documentation
Last updated
India Railway Train Retrieval Script Documentation
Last updated
GET
https://api.kosontechnology.com/india-railway-train.php
This API script is designed to retrieve information from the Railway Trains - India API using provided parameters.
city
String
To specify the desired city
download
-
To download the json file.
Making an HTTP request via a web browser or API Platform etc. .
The following parameters are accepted:
city
To specify the desired city
City Name. Etc. Mumbai
download
To download the JSON output
This parameter does not require the content, Leave empty or Type anything is acceptable
Depending on the parameters provided, the script will construct a URL to fetch information from the Railway Trains - India API .
city
Parameter:
If you provide a city
parameter of India city name etc. 'mumbai', the script will retrieve Railway Train from that city.
download
Parameter:
If you want to download the JSON output of these parameter, define the download
parameter with empty or any input will able you to auto download it. See the download sample at .
Retrieve all trains data from Delhi:
both examples download the same thing from Delhi
Refer this to have India's Cities List.