Interface TrainApi


@NullMarked public interface TrainApi
Primary entry point for interacting with the CTA Train Tracker API.

This interface provides grouped sub-APIs for different aspects of the Train Tracker API, such as stations, arrivals, train following, and locations.

Instances of TrainApi are immutable and thread-safe once built. Use builder(String) to construct a configured instance.