Skip to main content
Module

x/omdb/mod.ts>search

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

Search for titles 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: SearchProps

Returns

Promise<SearchObject | null>

Search-response if there are title matches, else it returns null.