Module api_client

Module api_client 

Source
Expand description

HTTP client for Flask API communication

This module provides an HTTP client for routing trajectory calculations through the Flask API instead of local computation, giving CLI users access to ML-enhanced predictions.

Structs§

ApiClient
HTTP client for Flask API communication
ApiTrajectoryPoint
A single point in the trajectory from API response
TrajectoryRequest
Request structure for trajectory calculation via Flask API
TrajectoryRequestBuilder
Builder for TrajectoryRequest
TrajectoryResponse
Response structure from Flask API trajectory calculation

Enums§

ApiError
Error types for API communication