valorant_api_official 0.0.3

A library for interacting with the Official Valorant API.
Documentation
1
2
3
4
5
6
7
8
9
use std::env;
use valorant_api_official::utils::credentials_manager::CredentialsManager;

pub fn get_credentials_manager() -> CredentialsManager {
    let api_key = env::var("valo_api_key_official").expect(
        "Error while getting VALORANT API key from environment variable valo_api_key_official",
    );
    CredentialsManager { api_key }
}