Skip to content

"Train Time Tracker" display real time information for a specific connection by scraping mobile.bahn.de

Notifications You must be signed in to change notification settings

mtoensing/Train-Time-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Train Time Tracker

Synopsis

3T (Train Time Tracker) displays the departure time of your favorite trains at a glance.

Code Example

1. Step

Make the folder /output writable (chmod 777)

2. Step

example generate.php:

require_once('TrainTimeTracker.php');

generateJSON('Hamburg-Langenfelde','Sternschanze');

Execute generate.php with a cronjob at least every minute.

3. Step

index.php should list all generated json files.

About

"Train Time Tracker" display real time information for a specific connection by scraping mobile.bahn.de

Resources

Stars

Watchers

Forks

Packages

No packages published