Skip to main content

A Python wrapper for TTSS API.

Project description

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 /.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttss-0.7.0.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

ttss-0.7.0-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page