osynic_osuapi 0.1.11

High performance, well-structured, extensible Rust osu! API client. Supports both WASM and native environments.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::error::Result;
use crate::v2::model::mode::enums::mode::Mode;
use crate::v2::model::score::dtos::response::GetScoresResponse;

pub trait IScores {
    fn get_scores(
        &self,
        ruleset: Option<Mode>,
        cursor_string: Option<String>,
    ) -> impl std::future::Future<Output = Result<GetScoresResponse>>;
}