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

#840 in Web programming

Download history 94/week @ 2024-06-17 83/week @ 2024-06-24 48/week @ 2024-07-01 45/week @ 2024-07-08 117/week @ 2024-07-15 55/week @ 2024-07-22 269/week @ 2024-07-29 126/week @ 2024-08-05 144/week @ 2024-08-12 81/week @ 2024-08-19 146/week @ 2024-08-26 343/week @ 2024-09-02 600/week @ 2024-09-09 633/week @ 2024-09-16 853/week @ 2024-09-23 757/week @ 2024-09-30

2,892 downloads per month
Used in 6 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–15MB
~144K SLoC