IMDbApiLib 2.0.0

dotnet add package IMDbApiLib --version 2.0.0
NuGet\Install-Package IMDbApiLib -Version 2.0.0
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="IMDbApiLib" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IMDbApiLib --version 2.0.0
#r "nuget: IMDbApiLib, 2.0.0"
#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 IMDbApiLib as a Cake Addin
#addin nuget:?package=IMDbApiLib&version=2.0.0

// Install IMDbApiLib as a Cake Tool
#tool nuget:?package=IMDbApiLib&version=2.0.0

IMDbApiLib

The TV-API is a web service for receiving movie, serial and cast informations. APIs results is a JSON and includes items such as movie specifications, images, posters, trailers, ratings, Wikipedia page content and more. see more »

Nuget

Install from Nuget using the command: Install-Package IMDbApiLib View more about that here: https://nuget.org/packages/IMDbApiLib

API Documentation

https://tv-api.com/api

Usage

Usage Examples

var apiLib = new ApiLib("API-Key");

// Search
var data = await apiLib.SearchMovieAsync("leon the professional 1994");

// Title Data
var data = await apiLib.TitleAsync("tt0110413");

// Title Data (French Language)
var data = await apiLib.TitleAsync("tt0110413", Language.fr);

// Title Data - Get Full Data
var data = await apiLib.TitleAsync("tt0110413", Language.en, "FullActor,FullCast,Posters,Images,Trailer,Ratings,Wikipedia");

// Report - As PNG File
var data = await apiLib.ReportAsync("tt0110413", Language.en);

// Images (From IMDb)
var data = await apiLib.ImagesAsync("tt0110413");

// Posters (From TheMovieDb)
var data = await apiLib.PostersAsync("tt0110413");

// Trailer
var data = await apiLib.TrailerAsync("tt0110413");

// ExternalSites (Get Movie or Series TV in all external sites with Identifier and URL)
var data = await apiLib.ExternalSitesAsync("tt0110413");

// Ratings (Get ratings of Movie or Series TV in: IMDb, Metacritic, RottenTommatoes, TheMovieDb and TV.com)
var data = await apiLib.RatingsAsync("tt0110413");

// Wikipedia (PlainText and Html)
var data = await apiLib.WikipediaAsync("tt0110413", , IMDbApiLib.Models.Language.en);

// AdvancedSearch
var input = new AdvancedSearchInput();
input.Genres = AdvancedSearchGenre.Action | AdvancedSearchGenre.Adventure;
input.Sort = AdvancedSearchSort.User_Rating_Descending;
input.ReleaseDateFrom = "2010-01-01";
input.NumberOfVotesFrom = 5000;

input.Languages = AdvancedSearchLanguage.English | AdvancedSearchLanguage.French;
// OR - Multiple languages
//input.LanguagesStr = $"{AdvancedSearchLanguage.English.GetDescription()},{AdvancedSearchLanguage.French.GetDescription()}";

input.Countries = AdvancedSearchCountry.United_States;
// OR - Multiple countries
//input.CountriesStr = $"{AdvancedSearchCountry.United_States},{AdvancedSearchCountry.France},{AdvancedSearchCountry.United_Kingdom}";

string queryString = input.ToString();
var advancedSearchdata = await apiLib.AdvancedSearchAsync(input);

List of all APIs

Search APIs

  • Search (expression)
  • SearchTitle (expression)
  • SearchMovie (expression)
  • SearchSeries (expression)
  • SearchName (expression)
  • SearchEpisode (expression)
  • SearchCompany (expression)
  • SearchKeyword (expression)
  • AdvancedSearch (params)

Title APIs

  • Title (id, options?)
  • Report (id, options?)
  • FullCast (id)
  • Posters (id)
  • Images (id, options?)
  • Trailer (id)
  • Ratings (id)
  • UserRatings (id)
  • SeasonEpisodes (id, seasonNumber)
  • ExternalSites (id)
  • Wikipedia (id)
  • Reviews (id)
  • MetacriticReviews (id)
  • FAQ (id)
  • Awards (id)

Other APIs

  • Top250Movies ()
  • Top250TVs ()
  • MostPopularMovies ()
  • MostPopularTVs ()
  • InTheaters ()
  • ComingSoon ()
  • BoxOffice ()
  • BoxOfficeAllTime ()
  • Name (nmId)
  • NameAwards (nmId)
  • Company (coId)
  • Keyword (kwId)
  • YouTubeTrailer (id)

Tools APIs

  • Usage ()
  • ResizeImage (WxH, url)
  • ResizePoster (WxH, url)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on IMDbApiLib:

Repository Stars
TV-Rename/tvrename
Organise your TV & Movie videos with ease
Version Downloads Last updated
2.0.0 141 1/18/2024
1.9.4 890 5/21/2023
1.9.3 231 4/23/2023
1.9.2 4,102 12/27/2022
1.9.0 486 12/17/2022
1.8.2 400 11/1/2022
1.8.1 2,303 3/16/2022
1.8.0 476 3/12/2022
1.7.1 479 12/15/2021
1.7.0 283 12/15/2021
1.6.3.1 724 8/15/2021
1.6.2 364 8/14/2021
1.6.0 286 8/14/2021
1.5.0 867 11/5/2020
1.4.0 2,966 4/18/2020
1.3.0 496 3/25/2020
1.2.0 470 3/25/2020
1.1.0 521 3/15/2020
1.0.0 545 3/7/2020