| Crates.io | wikipedia |
| lib.rs | wikipedia |
| version | 0.5.0 |
| created_at | 2015-09-28 01:32:31.555483+00 |
| updated_at | 2025-02-16 22:53:54.694545+00 |
| description | Access wikipedia articles from Rust |
| homepage | |
| repository | https://github.com/seppo0010/wikipedia-rs/ |
| max_upload_size | |
| id | 3122 |
| size | 113,979 |
Access wikipedia articles from Rust.
The crate is called wikipedia and you can depend on it via cargo:
[dependencies]
wikipedia = "0.5.0"
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"));