8 stable releases

2.5.0 Jan 22, 2020
2.4.0 Jan 18, 2020
1.0.0 Jan 11, 2020

#692 in #http

MIT license

11KB
144 lines

logoomdb-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.

Dependencies

~27MB
~536K SLoC