Skip to content
jsem-nerad edited this page Nov 12, 2025 · 3 revisions

Strava.cz Python API - Wiki

Welcome to the strava-cz-python library documentation! This is a high-level Python API for interacting with the Strava.cz web application (Czech school canteen ordering system).

πŸ“š Table of Contents

Getting Started

Core Concepts

Advanced Usage

Development

Migration

πŸš€ Quick Example

from strava_cz import StravaCZ, MealType, OrderType

# Login
strava = StravaCZ(
    username="your.username",
    password="YourPassword123",
    canteen_number="3753"
)

# Get menu
strava.menu.fetch()
strava.menu.print()

# Order meals
strava.menu.order_meals(3, 6)

# Logout
strava.logout()

πŸ“¦ Features

  • βœ… Authentication System - Login/logout functionality
  • βœ… Menu Browsing - Fetch and display canteen menu
  • βœ… Meal Ordering - Order and cancel meals by ID
  • βœ… Smart Filtering - Filter meals by type, order status, and more
  • βœ… Automatic Validation - Duplicate detection, type checking, balance verification
  • βœ… Error Handling - Comprehensive exception system
  • βœ… Balance Tracking - Real-time account balance monitoring

πŸ”— Links

πŸ“„ License

This project is licensed under the GPL-3.0-or-later License.

⚠️ Current Version

v0.2.0 - This version includes breaking changes from v0.1.x. See the Migration Guide for details.

AI usage

These wiki pages have been created and formated by an LLM

Tato wiki dokumentace byla vytvorena a formatovana za pomoci LLM

Clone this wiki locally