Expand description
§Valorant API
This crate is a wrapper for the In-Game Valorant API.
§Usage
use valorant_api_official::utils::credentials_manager::CredentialsManager;
use valorant_api_official::enums::region::Region;
let http_client = reqwest::Client::new();
let credentials_manager = valorant_api_official::utils::credentials_manager::CredentialsManager::new();
let puuid = "";
let region = Region::EU;
let result = valorant_api_official::get_accounts_by_puuid_v1(credentials_manager, &http_client, region, &puuid).await;
println!("Result: {:#?}", result);
§Endpoints
§Account V1
Function: get_accounts_by_name_v1
or get_accounts_by_puuid_v1
Result Type: AccountV1
§Active Shards V1
Function: get_active_shards_v1
Result Type: ActiveShardsV1
§Match Details V1
Function: get_match_details_v1
Result Type: MatchDetailsV1
§Match History V1
Function: get_match_lists_v1
Result Type: MatchListsV1
§Recent Matches V1
Function: get_recent_matches_v1
Result Type: RecentMatchesV1
§Leaderboard V1
Function: get_leaderboard_v1
Result Type: LeaderboardV1
§Content V1
Function: get_content_v1
Result Type: ContentV1
Modules§
Functions§
- get_
accounts_ by_ name_ v1 - Get the account of a player
- get_
accounts_ by_ puuid_ v1 - Get the account of a player
- get_
active_ shards_ v1 - Get the shards of a player
- get_
content_ v1 - Get the content of the game
- get_
leaderboard_ console_ v1 - Get the leaderboard of a region for console
- get_
leaderboard_ v1 - Get the leaderboard of a region
- get_
match_ details_ console_ v1 - Get the match details of a match for console
- get_
match_ details_ v1 - Get the match details of a match
- get_
match_ lists_ console_ v1 - Get the match lists of a player for console
- get_
match_ lists_ v1 - Get the match lists of a player
- get_
platform_ data_ v1 - Get Platform Data V1
- get_
recent_ matches_ console_ v1 - Get the recent matches of a queue for console
- get_
recent_ matches_ v1 - Get the recent matches of a queue