API for the RFI Train Monitor.
Go to file
Vichingo455 420053743f Upload files to "/" 2025-06-08 12:25:15 +00:00
LICENSE.txt Upload files to "/" 2025-06-08 12:25:15 +00:00
README.md Restore code 2025-06-01 12:16:12 +02:00
package-lock.json Restore code 2025-06-01 12:16:12 +02:00
package.json Restore code 2025-06-01 12:16:12 +02:00
server.js Restore code 2025-06-01 12:16:12 +02:00

README.md

RFI Train Monitor API

API for the RFI Train Monitor.

How to use

  1. Download Node.JS and install it
  2. Download the repository and extract it
  3. Open a command line on the folder you extracted the repository
  4. Run npm install to install required modules, then node server.js to start the server instance

API params

The API is called with 2 params:

  • Arrivals: A boolean set to True for arrivals, set to False for departures
  • PlaceId: The ID for the specific train station

Rights and credits

RFI, TrenItalia are trademarks used here only for reference purpouses.