omdb-0.3.2 doesn't have any documentation.
OMDb API for Rust
Search movies, tv shows, and games using The Open Movie Database.
Examples
Find by title:
let show = title
.apikey
.year
.get
.await
.unwrap;
assert!;
Find by IMDb ID:
let movie = imdb_id
.apikey
.get
.await
.unwrap;
assert!;
Search movies:
use Kind;
let movies = search
.apikey
.kind // Optionally filter results to movies only
.get
.await
.unwrap;
assert!;
Usage
Add the crates.io omdb
dependency to your Cargo.toml file.
[]
= "*"