public async Task MainAsync() { API.BR.Store.StoreUpdated += StoreUpdated; var season = API.GetCurrentSeason(); var week = API.GetCurrentWeek(); var version = API.GetCurrentVersion(); var status = await API.Status.GetStatusAsync(); var patchnotes = await API.Patchnotes.GetPatchnotesAsync(); var challenges = await API.BR.Challenges.GetChallengesAsync(); var store = await API.BR.Store.GetStoreAsync(); var featured = store.GetFeaturedStore(); var daily = store.GetDailyStore(); var upcoming = await API.BR.Store.GetUpcomingItemsAsync(); var search = await API.BR.Store.SearchItemAsync("Brite Gunner"); var searchItem = search[0]; var item = await API.BR.Store.GetItemAsync(searchItem.ItemId); var user = API.GetUser("Kangaaa"); var stats = await user.Stats.GetBRStatsAsync(); var gameModeStats = await user.Stats.GetBRStatsAsync(FNBRGameMode.ALL); var userUID = API.GetUser(new UID("711b6eaea0464736ab39212e16ac6c87")); var leaderboard = await API.BR.Leaderboard.GetLeaderboardAsync(); var leader = leaderboard[0]; var lUser = leader.GetUser(); var lStats = await lUser.Stats.GetBRStatsAsync(); var brNews = await API.BR.News.GetNewsAsync(); var stwNews = await API.STW.News.GetNewsAsync(); Console.Read(); }
public async Task MainAsync() { APi.BR.Store.StoreUpdated += StoreUpdated; var season = APi.GetCurrentSeason(); var week = APi.GetCurrentWeek(); var version = APi.GetCurrentVersion(); var status = await APi.Status.GetStatusAsync(); var patchnotes = await APi.Patchnotes.GetPatchnotesAsync(); var store = await APi.BR.Store.GetStoreAsync(); var featured = store.GetFeaturedStore(); var daily = store.GetDailyStore(); var upcoming = await APi.BR.Store.GetUpcomingItemsAsync(); var search = await APi.BR.Store.SearchAsync("Brite Gunner", FortniteAPI.Enums.FNBRItemRarity.EPIC); var searchItem = search[0]; var item = await APi.BR.Store.GetItemAsync(searchItem.ItemID); var user = APi.GetUser("Kangaaa"); var userBR = APi.GetUser <FNBRUser>("Kangaaa"); var userBRR = user.ConvertTo <FNBRUser>(); var userUID = APi.GetUser(new UID("711b6eaea0464736ab39212e16ac6c87")); var stats = await userBR.GetStatsAsync(); var leaderboard = await APi.BR.Leaderboard.GetLeaderboardAsync(); var leader = leaderboard[0]; var lUser = leader.GetUser(); var lStats = await lUser.GetStatsAsync(); var brNews = await APi.BR.News.GetNewsAsync(); var challenges = await APi.BR.Challenges.GetChallengesAsync(); var stwNews = await APi.STW.News.GetNewsAsync(); Console.Read(); }