mod utils;
use uuid::Uuid;
use valorant_api::enums::region::Region;
use crate::utils::common::get_credentials_manager;
#[tokio::main]
async fn main() {
let http_client = reqwest::Client::new();
let credentials_manager = get_credentials_manager()
.await
.expect("Error while getting credentials manager");
let puuid = Uuid::parse_str("f61351cc-aaf8-5b7d-a6bf-e2fe1caa2374").expect("Invalid UUID");
let region = Region::EU;
let result =
valorant_api::get_store_front_v2(&credentials_manager, &http_client, region, puuid).await;
println!("Result: {result:#?}");
assert!(result.is_ok());
}