omdbrs

Crates.ioomdbrs
lib.rsomdbrs
version2.5.0
sourcesrc
created_at2020-01-11 13:27:37.451574
updated_at2020-01-22 21:06:24.89239
descriptionOMDb API library
homepage
repositoryhttps://github.com/SuedeGently/omdb-rs
max_upload_size
id197476
size15,053
Rob (SuedeGently)

documentation

README

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.

Commit count: 46

cargo fmt