Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 3a4db1d

Browse files
author
Not Officer
committed
updated readme
1 parent 31107ba commit 3a4db1d

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,37 @@ If you need an in-use example then please take a look at the [program.cs](https:
2323
```cs
2424
using Fortnite_API;
2525

26-
var api = new FortniteApi();
26+
var apiClient = new FortniteApiClient();
2727
```
2828

29-
- FortniteApi class
29+
- FortniteApiClient class
3030

3131
```cs
32-
var api = new FortniteApi();
32+
var apiClient = new FortniteApiClient();
3333

3434
// accesses the stats endpoint (https://fortnite-api.com/v1/stats)
35-
api.V1.Stats...
35+
apiClient.V1.Stats...
36+
37+
// accesses the playlists endpoint (https://fortnite-api.com/v1/playlists)
38+
apiClient.V1.Playlists...
39+
40+
// accesses the map endpoint (https://fortnite-api.com/v1/map)
41+
apiClient.V1.Map...
3642

3743
// accesses the shop endpoint (https://fortnite-api.com/v2/shop)
38-
api.V2.Shop...
44+
apiClient.V2.Shop...
3945

4046
// accesses the cosmetics endpoint (https://fortnite-api.com/v2/cosmetics)
41-
api.V2.Cosmetics...
47+
apiClient.V2.Cosmetics...
4248

4349
// accesses the news endpoint (https://fortnite-api.com/v2/news)
44-
api.V2.News...
50+
apiClient.V2.News...
4551

4652
// accesses the creatorcode endpoint (https://fortnite-api.com/v2/creatorcode)
47-
api.V2.CreatorCode...
53+
apiClient.V2.CreatorCode...
4854

4955
// accesses the aes endpoint (https://fortnite-api.com/v2/aes)
50-
api.V2.Aes...
56+
apiClient.V2.Aes...
5157
```
5258

5359
### Contribute
@@ -62,4 +68,4 @@ We are open for any contribution.
6268
- RestSharp (Apache 2.0) [License](https://github.com/restsharp/RestSharp/blob/master/LICENSE.txt)
6369
- Newtonsoft.Json (MIT) [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
6470

65-
API developed by [Fortnite-API.com](https://dash.fortnite-api.com/about)
71+
API developed by [Fortnite-API.com](https://dash.fortnite-api.com/about)

0 commit comments

Comments
 (0)