steam_webapi_rust_sdk/idota2match_570/
mod.rs

1use crate::idota2match_570::get_match_history::ResponseMatchHistory;
2
3pub mod get_match_history;
4pub mod get_match_details;
5
6pub fn get_interface() -> String {
7    "IDOTA2Match_570".to_string()
8}
9
10pub fn get_dota2_match_history(account_id: Option<i64>,
11                               game_mode: Option<u8>,
12                               skill: Option<u8>,
13                               min_players: Option<u32>,
14                               start_at_match_id: Option<i64>,
15                               matches_requested: Option<u32>,
16                               tournament_games_only: Option<bool>)
17-> Result<ResponseMatchHistory, String>{
18    get_match_history::get(
19        account_id,
20        game_mode,
21        skill,
22        min_players,
23        start_at_match_id,
24        matches_requested,
25        tournament_games_only
26    )
27}