GithubHelp home page GithubHelp logo

imdb-api / imdbapilib Goto Github PK

View Code? Open in Web Editor NEW
33.0 4.0 9.0 209 KB

IMDb API is a web service for receiving movie, serial and cast information.

Home Page: https://imdb-api.com

C# 100.00%
imdb-api tmdb-api wikipedia-api subscene-api rotten-tomatoes metacritic imdb filmaffinity tv movie

imdbapilib's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.