DEV Community

Cover image for IMDb API / TV API
IMDb-API
IMDb-API

Posted on • Updated on

IMDb API / TV API

The IMDb-api.com site address changed to TV-API.com.

https://tv-api.com

IMDbApiLib

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

Nuget

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

IMDb-Api Client Application

https://tv-api.com/client

TV-API Documentation

TV API Documentation

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);

// Subtitles (From Subscene)
var data = await apiLib.SubtitlesAsync("tt0110413");

// 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, TV.com and FilmAffinity)
var data = await apiLib.RatingsAsync("tt0110413");

// Wikipedia (PlainText and Html)
var data = await apiLib.WikipediaAsync("tt0110413");

// YouTube
var data = await apiLib.YouTubeAsync("8hP9D6kZseM");

// YouTube Playlist
var data = await apiLib.YouTubePlaylistAsync("PLReL099Y5nRd28Yv6c-Am9qURCrLMxBmK");

// IMDb List
var data = await apiLib.IMDbListAsync("ls004285275");
Enter fullscreen mode Exit fullscreen mode

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)

Top comments (1)

Collapse
 
milkywayrules profile image
Dio Ilham D

Is this still working properly? I tried to open the website but return this "502 - Web server received an invalid response while acting as a gateway or proxy server."

Or you are not maintained it anymore? Imma just want to try experiment with my study. Thank you.