commit | author | age
|
fe8ee6
|
1 |
# Mapping of TTSS ID to vehicle number |
JK |
2 |
|
|
3 |
## Usage |
|
4 |
|
0b6d2f
|
5 |
Install dependencies by running: |
JK |
6 |
``` |
|
7 |
composer update |
|
8 |
``` |
|
9 |
|
|
10 |
To gather vehicle to ID mappings just run: |
|
11 |
``` |
|
12 |
php parse.php |
|
13 |
``` |
|
14 |
|
|
15 |
Output files `mapping_A.json` and `mapping_T.json` are put in `data` directory. |
|
16 |
|
|
17 |
## Requirements |
|
18 |
|
|
19 |
- [Composer](https://getcomposer.org/), |
|
20 |
- PHP 7.0+, |
|
21 |
- [PHP ftp extension](https://www.php.net/manual/en/ftp.installation.php), |
|
22 |
- [PHP json extension](https://www.php.net/manual/en/json.installation.php), |
|
23 |
- [PHP PDO extension](https://www.php.net/manual/en/pdo.installation.php), |
|
24 |
- [PHP PDO SQLite extension](https://www.php.net/manual/en/ref.pdo-sqlite.php). |