Lightweight .NET client for the VGN/VAG public transport API.
Important
This project originated from a personal application. Development follows my own needs rather than a fixed roadmap. Contributions and forks are welcome.
The easiest way to get started is to install the package from NuGet or GitHub Packages:
dotnet add package dotvgn
The package integrate seamlessly with ServiceCollection.
// Provide another base endpoint
services.AddDotVgnClient(opt => {
opt.BaseEndpoint = new Uri(...) // Optional
});Create client instances directly without dependency injection:
// No arguments to use defaults
var client = new VgnClient();A terminal based departure board. Shows real-time departures grouped by transport type (U-Bahn, S-Bahn, Tram, Bus, R-Bahn) with delay info and platform numbers. Supports fuzzy station search with interactive selection.
dotnet run --project samples/DotVgn.Samples.Monitor -- <StationName>
