Skip to content
/ ttss Public

A simple Python wrapper for TTSS (Traffic Tram Supervision System) API.

License

Notifications You must be signed in to change notification settings

tomekzaw/ttss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6e3c530 · Jun 18, 2024

History

59 Commits
Jun 18, 2024
Oct 11, 2022
Jun 18, 2024
Aug 28, 2023
Jun 26, 2021
Jun 26, 2021
Jun 26, 2021
Oct 11, 2022
Jul 3, 2021
Oct 11, 2022
Jul 3, 2021
Jun 18, 2024

Repository files navigation

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:

from ttss import TTSS

ttss = TTSS(base_url='http://www.ttss.krakow.pl')

For MPK Kraków buses:

ttss = TTSS(base_url='http://ttss.mpk.krakow.pl')

Note: the base URL must not contain /internetservice and must not end with /.

About

A simple Python wrapper for TTSS (Traffic Tram Supervision System) API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published