| Crates.io | omdbrs |
| lib.rs | omdbrs |
| version | 2.5.0 |
| created_at | 2020-01-11 13:27:37.451574+00 |
| updated_at | 2020-01-22 21:06:24.89239+00 |
| description | OMDb API library |
| homepage | |
| repository | https://github.com/SuedeGently/omdb-rs |
| max_upload_size | |
| id | 197476 |
| size | 15,053 |
omdb-rsOMDb 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.