Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/omdb/src/omdb.ts>getTitle

Access OMDb's API with Deno.
Go to Latest
function getTitle
import { getTitle } from "https://deno.land/x/omdb@v3.0.1/src/omdb.ts";

Get specific title from IMDb via OMDb's API. A title could be for a movie, TV show or an episode of a TV show.

NOTE: You can enable debuggin using DEBUG enviroment variable, set it to anything.

Parameters

unnamed 0: TitleProps

Returns

Promise<Title | null>

Title response if title exists (or matches), else it returns null.