TvdbClient 4.7.10
dotnet add package TvdbClient --version 4.7.10
NuGet\Install-Package TvdbClient -Version 4.7.10
<PackageReference Include="TvdbClient" Version="4.7.10" />
paket add TvdbClient --version 4.7.10
#r "nuget: TvdbClient, 4.7.10"
// Install TvdbClient as a Cake Addin #addin nuget:?package=TvdbClient&version=4.7.10 // Install TvdbClient as a Cake Tool #tool nuget:?package=TvdbClient&version=4.7.10
TvdbApi
C# Api Client for the TVDB project
TVDB Project
Usage
The TVDB Team recommends to maintain your own copy of their database or use a caching proxy to reduce the amount of calls being made against their API. It is entirely up to you as the developer to implement this. This lbirary provides a simple API client AS IS, without any of the recommended caching mechanism.
Configuration
The Client library relies on config records being present in either your appsettings.json or in a standalone TvdbClientConfig.json:
{
"TvdbConfiguration": {
"BaseUrl": "https://api4.thetvdb.com/v4",
/* This API Key comes from the TVDB Example and obviously needs to be replaced in production */
"ApiKey": "580c9239-d2f8-4460-a22e-6831900a97a3",
"Pin": "IPQZOCMN"
}
}
Make sure to replace the API Key in the example with your own API Key in TVDBs API Key Dashboard.
DI Registration
Register TVDB Client with your DI of choice:
var config = builder.Configuration.AddTvdbClient().Build();
builder.Services.AddTvdbClient(config);
Using the Clients
var client = serviceProvider.GetRequiredService<ITvdbClient>();
var series = await client.GetSeriesAsync(121361);
Console.WriteLine(series.Data.SeriesName);
Versioning
I try my best to align the version of this library to the latest TVDB version on their Github repository to make it easy to see which version this client is compatible with.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Configuration.Json (>= 9.0.1)
- Microsoft.Extensions.DependencyInjection (>= 9.0.1)
- Microsoft.Extensions.Hosting (>= 9.0.1)
- Microsoft.Extensions.Logging (>= 9.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.1)
- Microsoft.Extensions.Options (>= 9.0.1)
- Newtonsoft.Json (>= 13.0.3)
- Scrutor.Extensions.HttpClient (>= 5.1.2-alpha.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.7.10 | 43 | 1/31/2025 |