7 stable releases

✓ Uses Rust 2018 edition

new 2.4.0 Jan 18, 2020
2.3.1 Jan 14, 2020
1.0.0 Jan 11, 2020

#206 in #http

49 downloads per month

MIT license

9KB
111 lines

omdb-rs

OMDb library for Rust

This is a library of tools for searching/interacting with the Online Movie Database. This is achieved through the use of a Film object that can hold certain common features of a film. For example...

use omdbrs::Film;

let NAME = String::from("Shrek");
let API_KEY = String::from("[YOUR_API_KEY]");

let film: Film = Film::from_title(NAME, API_KEY);

assert_eq!(film.get_year(), "2001");

Note: This library uses an outdated version of Reqwest.


lib.rs:

A library for interacting with the OMDb in Rust.

Interactions are mostly through the Film object, which is constructed using some information applicable to an OMDb search, and which can then be interacted with through a series of methods.

Dependencies

~17MB
~404K SLoC