Home / OpenDelays_IT
Name Modified Size InfoDownloads / Week
Parent folder
sample db IT.png 2014-11-12 76.8 kB
README.txt 2014-11-12 1.2 kB
opendelays_it.py 2014-11-12 5.6 kB
ITstations.txt 2014-11-12 372.3 kB
ITstations.py 2014-11-12 329 Bytes
Totals: 5 Items   456.3 kB 1
OpenDelays_IT Program Version 1.0  12/11/2014
_____________________________________________________
This program gather Italian train data into a database using
website http://www.viaggiatreno.it/viaggiatrenonew/resteasy/(real time data)
-----------------------------------------------------
      How To Use It:
- Run it with Python 2.6 and the MySQLdb module
- Set mysql database access (lines: 15 to 18)
- Create the table and column named after the program or rename those one
  (lines: 39-40)
- ITstation.txt file is necessary; Set the path to call him (line: 65 -getStations function)
- ITstation.py is available to update the station list

1. upload the python program somewhere on the server or on your device
2. set the scheduler task => every days, every hours
-----------------------------------------------------
See update at https://sourceforge.net/projects/opendelays/
Follow our aim at http://wemove.center/joomla/index.php/blog/item/104-open-delays
or http://wemove.center/joomla/index.php/blog
-----------------------------------------------------
Update:	

-----------------------------------------------------
Copyright 2014, WeMove & Samuel Jouan, GNU GPL v3.
Source: README.txt, updated 2014-11-12