This repository was archived by the owner on Apr 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # Java
2+
3+ ``` java
4+ FortniteAPI api = new FortniteAPI ();
5+ ```
6+
7+ ** Methods** \
8+ For every method, You can set a custom language. (You have to add the Language (Language.class) to the last parameter)
9+
10+ ``` java
11+ BRCosmeticResponse getCosmeticByID(String id);
12+ BRCosmeticsResponse getAllCosmetics();
13+ BRCosmeticsResponse getCosmeticsByID(String [] ids)
14+ BRItemShop getItemShop();
15+ NewsResponse getNews();
16+ SepNewsResponse getNewsBR();
17+ SepNewsResponse getNewsSTW();
18+ SepNewsResponse getNewsCreative();
19+ ```
20+
21+ # Kotlin
22+
23+ ``` kotlin
24+ val api: FortniteAPI = FortniteAPI ()
25+ ```
26+
27+ ** Methods** \
28+ For every method, You can set a custom language. (You have to add the Language (Language.class) to the last parameter)
29+
30+ ``` kotlin
31+ fun getCosmeticByID (id : String ): BRCosmeticResponse ?
32+ fun getAllCosmetics (): BRCosmeticsResponse ? = service?.getAllCosmetics()?
33+ fun getCosmeticsByID (ids : Array <String >): BRCosmeticsResponse ?
34+ fun getItemShop (): BRItemShop ?
35+ fun getNews (): NewsResponse ?
36+ fun getNewsBR (): SepNewsResponse ?
37+ fun getNewsSTW (): SepNewsResponse ?
38+ fun getNewsCreative (): SepNewsResponse ?
39+ ```
You can’t perform that action at this time.
0 commit comments