https://github.com/tomekzaw/ttss
A simple Python wrapper for TTSS (Traffic Tram Supervision System) API.
https://github.com/tomekzaw/ttss
api bus krakow tram transport ttss
Last synced: about 2 months ago
JSON representation
A simple Python wrapper for TTSS (Traffic Tram Supervision System) API.
- Host: GitHub
- URL: https://github.com/tomekzaw/ttss
- Owner: tomekzaw
- License: mit
- Created: 2021-06-26T22:31:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T07:42:43.000Z (12 months ago)
- Last Synced: 2025-03-24T16:02:37.752Z (2 months ago)
- Topics: api, bus, krakow, tram, transport, ttss
- Language: Python
- Homepage: https://pypi.org/project/ttss/
- Size: 97.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TTSS
A simple Python wrapper for TTSS (Traffic Tram Supervision System) API.

## Requirements
* Python 3.8+## Installation
```
pip install ttss
```## Usage
For MPK Kraków trams:
```py
from ttss import TTSSttss = TTSS(base_url='http://www.ttss.krakow.pl')
```For MPK Kraków buses:
```py
ttss = TTSS(base_url='http://ttss.mpk.krakow.pl')
```> Note: the base URL must not contain `/internetservice` and must not end with `/`.