Skip to content

Liefland/wikipedia-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wikipedia-rs

This is an updated - nonmaintained - fork of seppo0010/wikipedia-rs, see MR seppo0010#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/

About

Wikipedia API client in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%