Crate fortnite_api

source ·
Expand description

§Fortnite API

This crate is a wrapper for the Fortnite API.

§Usage

#[tokio::main]
async fn main() {
    let http_client = reqwest::Client::new();

    let result = fortnite_api::get_news_v2(&http_client, None).await;
    println!("Result: {:#?}", result);
    assert!(result.is_ok());
}

§Endpoints

Modules§

Functions§