https://github.com/mtoensing/train-time-tracker
"Train Time Tracker" display real time information for a specific connection by scraping mobile.bahn.de
https://github.com/mtoensing/train-time-tracker
Last synced: about 1 year ago
JSON representation
"Train Time Tracker" display real time information for a specific connection by scraping mobile.bahn.de
- Host: GitHub
- URL: https://github.com/mtoensing/train-time-tracker
- Owner: mtoensing
- Created: 2017-04-05T19:13:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-14T10:17:44.000Z (almost 9 years ago)
- Last Synced: 2025-04-17T07:17:11.529Z (about 1 year ago)
- Language: PHP
- Homepage: https://marc.tv/?p=25240
- Size: 275 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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.