1 unstable release
0.1.0 | Oct 21, 2018 |
---|
#29 in #osu
20KB
463 lines
osu_pi.rs
A simple osu API wrapper written in Rust
Installation
Add the following to your Cargo.toml
file.
osu_pi = "0.1.0"
Then include it in your project
extern crate osu_pi;
Examples
extern crate osu_pi;
use osu_pi::*;
use osu_pi::additions::*;
fn main() {
let client = Client::new("SOME_RANDOM_TOKEN_HERE");
let user = client.get_user("Cookiezi", Modes::Standard, 10)
.unwrap();
println!("{}", user[0].username);
}
License
Dependencies
~22MB
~453K SLoC