pub async fn get_creatorcode_v2(
http_client: &Client,
name: &str,
) -> Result<CreatorCodeV2>Expand description
Get the creator code.
§Parameters
http_client: The reqwest client.name: The name of the creator code.
§Returns
The creator code.
§Example
#[tokio::main]
async fn main() {
let http_client = reqwest::Client::new();
let result = fortnite_api::get_creatorcode_v2(&http_client, "trymacs").await;
println!("Result: {result:#?}");
assert!(result.is_ok());
}