Skip to content

Fortnite-API/csharp-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# wrapper for Fortnite-API.com

GitHub release Nuget Nuget DLs GitHub issues GitHub License Donate Discord

This library offers a complete wrapper around the endpoints of fortnite-api.com.

NuGet

Install-Package Fortnite-API-Wrapper

Documentation

Here is a quick overview of the API so you can get started very quickly.

If you need an in-use example then please take a look at the program.cs in my test folder where i use some of the endpoints.

  • General usage
using Fortnite_API;

var apiClient = new FortniteApiClient();
  • FortniteApiClient class
var apiClient = new FortniteApiClient();

// accesses the stats endpoint (https://fortnite-api.com/v1/stats)
apiClient.V1.Stats...

// accesses the playlists endpoint (https://fortnite-api.com/v1/playlists)
apiClient.V1.Playlists...

// accesses the map endpoint (https://fortnite-api.com/v1/map)
apiClient.V1.Map...

// accesses the shop endpoint (https://fortnite-api.com/v2/shop)
apiClient.V2.Shop...

// accesses the cosmetics endpoint (https://fortnite-api.com/v2/cosmetics)
apiClient.V2.Cosmetics...

// accesses the news endpoint (https://fortnite-api.com/v2/news)
apiClient.V2.News...

// accesses the creatorcode endpoint (https://fortnite-api.com/v2/creatorcode)
apiClient.V2.CreatorCode...

// accesses the aes endpoint (https://fortnite-api.com/v2/aes)
apiClient.V2.Aes...

Contribute

If you can provide any help, may it only be spell checking please contribute!

We are open for any contribution.

License

API developed by Fortnite-API.com