Standalone, NuGet-ready .NET library for the public WhenIsKickoff World Cup 2026 JSON API.
- Async-only API surface
HttpClient-based, DI-friendly design- Separate models and abstractions
- Strongly typed responses for
matches,teams,groups,venues, andtv - Production-oriented error handling via a custom exception
- Works with
HttpClientFactory - Targets
netstandard2.0andnet8.0
Build the library and pack it into a NuGet package:
dotnet build -c Releaseusing WhenIsKickoff;
using WhenIsKickoff.Models;
var httpClient = new HttpClient();
var client = new WhenIsKickoffClient(httpClient);
var matches = await client.GetMatchesAsync();
var teams = await client.GetTeamsAsync();services.AddWhenIsKickoffClient();https://wheniskickoff.com/data/v1/
The API is public, JSON-based, and does not require authentication.