6 releases

0.4.0 Oct 11, 2023
0.3.4 Sep 30, 2019
0.3.3 Jan 16, 2019
0.3.2 Sep 19, 2018
0.1.0 Sep 28, 2015

#893 in Web programming

Download history 470/week @ 2024-09-06 606/week @ 2024-09-13 833/week @ 2024-09-20 769/week @ 2024-09-27 759/week @ 2024-10-04 841/week @ 2024-10-11 797/week @ 2024-10-18 834/week @ 2024-10-25 708/week @ 2024-11-01 260/week @ 2024-11-08 403/week @ 2024-11-15 382/week @ 2024-11-22 979/week @ 2024-11-29 1215/week @ 2024-12-06 1177/week @ 2024-12-13 1267/week @ 2024-12-20

4,736 downloads per month
Used in 7 crates

Custom license

62KB
1.5K SLoC

wikipedia-rs

Build Status

Access wikipedia articles from Rust.

The crate is called wikipedia and you can depend on it via cargo:

[dependencies]
wikipedia = "0.3.1"

Examples

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"));

Documentation

https://seppo0010.github.io/wikipedia-rs/


lib.rs:

Access wikipedia articles from Rust.

Examples

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"));

Dependencies

~0.5–12MB
~144K SLoC