618 B
618 B
RFI Train Monitor API
API for the RFI Train Monitor.
How to use
- Download Node.JS and install it
- Download the repository and extract it
- Open a command line on the folder you extracted the repository
- Run
npm install
to install required modules, thennode 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.