https://github.com/adridevelopsthings/download-db-apn
A script to download railway apn sketches for all stations from trassenfinder.de
https://github.com/adridevelopsthings/download-db-apn
deutschebahn golang trassenfinder
Last synced: 2 months ago
JSON representation
A script to download railway apn sketches for all stations from trassenfinder.de
- Host: GitHub
- URL: https://github.com/adridevelopsthings/download-db-apn
- Owner: AdriDevelopsThings
- Created: 2024-03-12T22:17:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-12T22:17:32.000Z (over 1 year ago)
- Last Synced: 2025-02-10T21:53:19.614Z (4 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# download-db-apn
A script to download railway apn sketches for all stations from trassenfinder.de## Installation dependencies
You need python version 3.5 or higher. Run `pip install -r requirements.txt` to install all requirements.## Running the script
Just run `python main.py`.
### Usage
```
usage: download-db-apn [-h] [-i INFRASTRUCTURE_ID] [-o OUTPUT_DIR] [--overwrite-existing]Script to download railway apn sketches for all stations from trassenfinder.de
options:
-h, --help show this help message and exit
-i INFRASTRUCTURE_ID, --infrastructure-id INFRASTRUCTURE_ID
ID of the infrastructure otherwise the the first infrastructure found will be used
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Directory where the apn sketches will be saved.
--overwrite-existing Overwrite already existing files instead of skipping these files.
```