wikipedia

Crates.iowikipedia
lib.rswikipedia
version0.4.0
sourcesrc
created_at2015-09-28 01:32:31.555483
updated_at2023-10-11 13:45:51.61467
descriptionAccess wikipedia articles from Rust
homepage
repositoryhttps://github.com/seppo0010/wikipedia-rs/
max_upload_size
id3122
size72,682
Sebastian Waisbrot (seppo0010)

documentation

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

README

wikipedia-rs

Build Status crates.io

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/

Commit count: 56

cargo fmt