pub struct ApiClient { /* private fields */ }
Implementations§
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_aurora_profile_by_toon_scr_profile(
&self,
toon: String,
gateway: Gateway,
) -> Result<ScrProfile, ApiError>
pub async fn get_aurora_profile_by_toon_scr_profile( &self, toon: String, gateway: Gateway, ) -> Result<ScrProfile, ApiError>
Get aurora profile with scr_profile flag
Endpoint: /web-api/v2/aurora-profile-by-toon/{toon}/{gateway}?request_flags=scr_profile
Sourcepub async fn get_aurora_profile_by_toon_mm_game_loading(
&self,
toon: String,
gateway: Gateway,
) -> Result<ScrMmGameLoading, ApiError>
pub async fn get_aurora_profile_by_toon_mm_game_loading( &self, toon: String, gateway: Gateway, ) -> Result<ScrMmGameLoading, ApiError>
Get aurora profile with scr_mmgameloading flag
Endpoint: /web-api/v2/aurora-profile-by-toon/{toon}/{gateway}?request_flags=scr_mmgameloading
Sourcepub async fn get_aurora_profile_by_toon_mm_toon_info(
&self,
toon: String,
gateway: Gateway,
) -> Result<ScrMmToonInfo, ApiError>
pub async fn get_aurora_profile_by_toon_mm_toon_info( &self, toon: String, gateway: Gateway, ) -> Result<ScrMmToonInfo, ApiError>
Get aurora profile with scr_mmtooninfo flag
Endpoint: /web-api/v2/aurora-profile-by-toon/{toon}/{gateway}?request_flags=scr_mmtooninfo
Sourcepub async fn get_aurora_profile_by_toon_toon_info(
&self,
toon: String,
gateway: Gateway,
) -> Result<ScrToonInfo, ApiError>
pub async fn get_aurora_profile_by_toon_toon_info( &self, toon: String, gateway: Gateway, ) -> Result<ScrToonInfo, ApiError>
Get aurora profile with scr_tooninfo flag
Endpoint: /web-api/v2/aurora-profile-by-toon/{toon}/{gateway}?request_flags=scr_tooninfo
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_global_maps_1v1(&self) -> Result<GlobalMaps1v1, ApiError>
pub async fn get_global_maps_1v1(&self) -> Result<GlobalMaps1v1, ApiError>
Get global 1v1 maps file set
Endpoint: /web-api/v1/file-set/classic.files.global.maps-1v1
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_gateway_status(&self) -> Result<GatewayResponse, ApiError>
pub async fn get_gateway_status(&self) -> Result<GatewayResponse, ApiError>
Get status of all gateways
Endpoint: /web-api/v1/gateway
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_leaderboard_entity(
&self,
leaderboard_id: Leaderboard,
) -> Result<LeaderboardResponse, ApiError>
pub async fn get_leaderboard_entity( &self, leaderboard_id: Leaderboard, ) -> Result<LeaderboardResponse, ApiError>
Get leaderboard entries
Endpoint: /web-api/v1/leaderboard/{leaderboard_id}
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_leaderboard_rank(
&self,
leaderboard_id: Leaderboard,
toon: String,
gateway: Gateway,
) -> Result<LeaderboardRankResponse, ApiError>
pub async fn get_leaderboard_rank( &self, leaderboard_id: Leaderboard, toon: String, gateway: Gateway, ) -> Result<LeaderboardRankResponse, ApiError>
Get leaderboard rank for a specific player
Endpoint: /web-api/v1/leaderboard-rank-by-toon/{leaderboard_id}/{toon}/{gateway}
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_leaderboard(&self) -> Result<LeaderboardMetadata, ApiError>
pub async fn get_leaderboard(&self) -> Result<LeaderboardMetadata, ApiError>
Get leaderboard metadata including available gamemodes, gateways, and leaderboards
Endpoint: /web-api/v1/leaderboard
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_map_stats(
&self,
toon: String,
gateway: Gateway,
) -> Result<MapStatsByToon, ApiError>
pub async fn get_map_stats( &self, toon: String, gateway: Gateway, ) -> Result<MapStatsByToon, ApiError>
Get map statistics for a specific player
Endpoint: /web-api/v1/map-stats-by-toon/{toon}/{gateway}
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_matchmaker_gameinfo(
&self,
toon: String,
gateway: Gateway,
gamemode: u32,
season: u32,
offset: Option<u32>,
limit: Option<u32>,
) -> Result<MatchmakerGameInfo, ApiError>
pub async fn get_matchmaker_gameinfo( &self, toon: String, gateway: Gateway, gamemode: u32, season: u32, offset: Option<u32>, limit: Option<u32>, ) -> Result<MatchmakerGameInfo, ApiError>
Get matchmaker game information for a specific player
Endpoint: /web-api/v1/matchmaker-gameinfo-by-toon/{toon}/{gateway}/{gamemode}/{season}
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_matchmaker_player_info(
&self,
match_id: String,
) -> Result<MatchmakerPlayerInfo, ApiError>
pub async fn get_matchmaker_player_info( &self, match_id: String, ) -> Result<MatchmakerPlayerInfo, ApiError>
Get detailed player information for a specific match
Endpoint: /web-api/v1/matchmaker-gameinfo-playerinfo/{match_id}