pub struct UgcClient { /* private fields */ }
Implementations§
Source§impl UgcClient
“API client” for ugc by scraping the website
impl UgcClient
“API client” for ugc by scraping the website
pub fn new() -> Self
Sourcepub async fn player_team_history(
&self,
steam_id: SteamID,
) -> Result<Vec<MembershipHistory>>
pub async fn player_team_history( &self, steam_id: SteamID, ) -> Result<Vec<MembershipHistory>>
Retrieve team membership history for a player
Sourcepub async fn team_roster_history(&self, id: u32) -> Result<TeamRosterData>
pub async fn team_roster_history(&self, id: u32) -> Result<TeamRosterData>
Retrieve team roster history
Sourcepub async fn team_matches(&self, id: u32) -> Result<Vec<TeamSeason>>
pub async fn team_matches(&self, id: u32) -> Result<Vec<TeamSeason>>
Retrieve team match history
Sourcepub async fn previous_seasons(&self) -> Result<Vec<Seasons>>
pub async fn previous_seasons(&self) -> Result<Vec<Seasons>>
Get all historical seasons by game mode
pub async fn teams(&self, format: GameMode) -> Result<Vec<TeamRef>>
Sourcepub async fn match_info(&self, id: u32) -> Result<MatchInfo>
pub async fn match_info(&self, id: u32) -> Result<MatchInfo>
Get match page info
pub async fn transactions(&self, format: GameMode) -> Result<Vec<Transaction>>
pub async fn map_history(&self, format: GameMode) -> Result<MapHistory>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UgcClient
impl !RefUnwindSafe for UgcClient
impl Send for UgcClient
impl Sync for UgcClient
impl Unpin for UgcClient
impl !UnwindSafe for UgcClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more