TvdbClient 4.7.10

dotnet add package TvdbClient --version 4.7.10                
NuGet\Install-Package TvdbClient -Version 4.7.10                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TvdbClient" Version="4.7.10" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TvdbClient --version 4.7.10                
#r "nuget: TvdbClient, 4.7.10"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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