Crate valorant_api_official

source ·
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§