fortnite-api 0.1.2

A library for interacting with the Fortnite API
Documentation

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

Endpoint Function Result Type
AES V2 [get_aes_keys_v2] [AesV2]
Banners V1 [get_banners_v1] [BannersV1]
Banners Colors V1 [get_banners_colors_v1] [BannersColorsV1]
Cosmetics V2 [get_cosmetics_v2] [CosmeticsV2]
Cosmetics New V2 [get_cosmetics_new_v2] [CosmeticsNewV2]
Cosmetic By ID V2 [get_cosmetic_by_id_v2] [CosmeticV2]
Creator Code V2 [get_creatorcode_v2] [CreatorCodeV2]
Map V1 [get_map_v1] [MapV1]
News V2 [get_news_v2] [NewsV2]
News Gamemode V2 [get_news_br_v2] [get_news_stw_v2] [get_news_creative_v2] [News]
Playlists V1 [get_playlists_v1] [PlaylistsV1]
Playlists By ID V1 [get_playlist_by_id_v1] [PlaylistV1]
Shop BR V2 [get_shop_br_v2] [get_shop_combined_v2] [ShopV2]
Stats V2 [get_stats_v2] [get_stats_by_account_id_v2] [StatsV2]