Kevsoft

User-Manual for TrainTimes


Version 2.05 (28-April-2024)





Train Times is a simple application that fetches up to the next 50 trains for a particular Great British train station.

When used for the first time, you will be presented with a configuration window where you have to put the 3 letter station code for the station you want and give that station a name, plus you can have up to 9 other stations. Also you will need a user name and password from the data providers which is Realtime Trains API site (who will issue you with the user name and password) and enter the details in the API Credentials window.

There is a html file called stations and I have created a datapower file called Station and a csv file called stations.csv both of which can be downloaded from my web site.

Once the all the information is entered and Return or the Save Details button is pressed, the configuration window will close and the train time table for that station will open.

The information displayed is,
  • Title bar the name of the station
  • Tabled Arrival time
  • Station the train starts from and the time it starts
  • The Scheduled departure time
  • Expected arrival time
  • Station the train ends and the time it ends
  • Expected arrival time
  • Expected departure time
  • Platform
  • Time table button for that train which is the Service ID for that train
  • Platform number
  • Train operator
  • Train Id
  • Wether it is a bus or train service
  • Wether the train calls at that station starts there or ends there
Train times

If a train starts at your station it will not have an arrival time, like wise if it ends at your station it will not have a departure time, some stations the platform number is not known so they all will have N/A.

If their is more than 10 trains for your station, buttons will be displayed called called Page 2 and Page 3 etc will show, clicking on these buttons will display upto the next 10 trains. The Refresh button will redownload and update the first page.

The Departures and Arrivals options allows on terminal stations to see trains that depart or arrival at that station, other stations it will make no difference to.

The Save button allows you yo save the information as either plain text, html or csv.

The Info button will open up a new window Giving some details about the station.

Clicking on the Future Date button will open up a new window called Set date and time
set date and time
Which will open up a window similar to the train time table for that station, but in this case with trains around the date and time chosen.

Clicking on the Time table for train.. button open ups the time table for that particular train with all the stops it makes, from start to finnish. The information this window displays is
  • The train operator
  • Power Type
  • Bus or Train service
  • Station
  • Platform number
  • Scheduled arrival
  • Scheduled departure
Train times

Stations that the train has already passed, will display N/A for the time also the starting station will not display N/A for the arrival time and the ending station will display N/A for departure time and as with the station time table window if the platform is not known that will also show N/A.
Clicking on the station name in this window will open up the station timetable with that stations details.

Clicking on the Save button will open up a save window, with the option to save as a plain text, CSV or HTML file

My logo will open up a web browser to TrainTimes section of my web site and the Reat Time Trains API button takes you to the data providers.
To add more stations or edit stations you can either click the Mutli Stations item on the iconbar or the Multi Stations button on the Configure window. Which will open up a new window called Multi Stations where you can add more stations. Which can be accessed by the pressing the menu button in the main Station window or the Future window.

Multi Station

Station Data window

The station data window t displays the name and address and various other data of the station plus the various station codes used by
National Rail where that data comes from.

The Save will open up a menu with two choices which are Save Address which can save the name and address of the station in either plain text, csv or vcard formats and Save Full which saves all the information about the station in either Plain Text or HTML formats.

The More Info button button will open up a menu with 5 options they are the station's web page on the National Rail website, the Wikiepeida web site for that station, a map option that if an application that can handle GPX file has not been seen by the filer will be greyed out otherwise will clickable, Station Operator which will open the Train Operator window and Time Table which will open the time table window for that station.

The Data by National Rail button will open up a web browser to National Rail web site whilst my logo will open up a browser to my web site.

Station Data

Clicking on the Operator icon opens up a new window with details about the train operator, whose details can be saved. The full information can be saved in either plain text or html, the addresses can be saved in either plain text, csv for vcard formats. Clicking on the email address will open up your email client with the email address field entere and the web site will open up a web browser to that page. The button with my logo on it will open up a browser to my web site to the TrainTimes section, the Data by National Rail goes to the Nationial Rail web site and the Download Map button if available will download and run a pdf file. Not all train operators have that listed. Clicking on the List train operators stations button opens up a window with the stations that train operator runs.

Train Operator Data

Clicking on any of the page buttons will list stations on that page, whilst clicking on any of the Station buttons will bring up a menu with options to either get the time table for that station, get station Info, goto the National Rail Enquires web site for that station or the Wikipedia web site for that station.>br>
Train operators station

This application requires a working internet connection and Wget to work.

The data comes from Real Train Times API site.
Station and Codes

License and Distribution conditions
This and other software written by me can be found athttp://kevsoft.co.uk
You can contact me at kev@kevsoft.co.uk
Buy Kevsoft Merchandise
Kevsoft Ko-Fi pages