Valorant API
This crate is a wrapper for the In-Game Valorant API.
Usage
1. Authenticate
To use this crate, you need to authenticate with your Riot Games account. Currently, the only way to do this is by using a username and password (no 2FA).
use CredentialsManager;
use SimpleHttpClient;
async
2. Use the API
use Region;
use Uuid;
use HashMap;
let puuid = parse_str.expect;
let region = EU;
let queries = new;
let result = get_competitve_updates_v1.await;
println!;
Endpoints
Competitive Updates V1
Function: [get_competitive_updates_v1
]
Result Type: [CompetitveUpdatesV1
]
Match Details V1
Function: [get_match_details_v1
]
Result Type: [MatchDetailsV1
]
Match History V1
Function: [get_match_history_v1
]
Result Type: [MatchHistoryV1
]
MMRV1
Function: [get_mmr_details_v1
]
Result Type: [MMRDetailsV1
]
Leaderboard V1
Function: [get_leaderboard_v1
]
Result Type: [LeaderboardV1
]
Content V3
Function: [get_content_v3
]
Result Type: [ContentV3
]
Store Offers V1
Function: [get_store_offers_v1
]
Result Type: [StoreOffersV1
]
Store Front V2
Function: [get_store_front_v2
]
Result Type: [StoreFrontV2
]