Expand description
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);
}