Crates.io | wikipedia |
lib.rs | wikipedia |
version | 0.4.0 |
source | src |
created_at | 2015-09-28 01:32:31.555483 |
updated_at | 2023-10-11 13:45:51.61467 |
description | Access wikipedia articles from Rust |
homepage | |
repository | https://github.com/seppo0010/wikipedia-rs/ |
max_upload_size | |
id | 3122 |
size | 72,682 |
Access wikipedia articles from Rust.
The crate is called wikipedia
and you can depend on it via cargo:
[dependencies]
wikipedia = "0.3.1"
extern crate wikipedia;
let wiki = wikipedia::Wikipedia::<wikipedia::http::default::Client>::default();
let page = wiki.page_from_title("Club Atletico River Plate".to_owned());
let content = page.get_content().unwrap();
assert!(content.contains("B Nacional"));