wikipedia_liefland

Crates.iowikipedia_liefland
lib.rswikipedia_liefland
version0.4.0
sourcesrc
created_at2023-10-04 20:43:01.482982
updated_at2023-10-04 20:43:01.482982
descriptionAccess wikipedia articles from Rust
homepage
repositoryhttps://github.com/Liefland/wikipedia-rs
max_upload_size
id993180
size72,827
Jos Ahrens (Zarthus)

documentation

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

README

wikipedia-rs

This is an updated - nonmaintained - fork of seppo0010/wikipedia-rs, see MR https://github.com/seppo0010/wikipedia-rs/pull/9

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: 57

cargo fmt