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

Commit f105f6e

Browse files
authored
Create README.md
1 parent 398a83c commit f105f6e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# java-wrapper
2+
Java/Kotlin implementation for https://fortnite-api.com
3+
4+
5+
# Example
6+
Note: For every method you can use the `Language` parameter.
7+
```java
8+
FortniteAPI api = new FortniteAPIBuilder()
9+
.setKey("{API-KEY}");
10+
CosmeticEndpoint endpoint = api.getCosmeticEndpoint();
11+
FortniteResponse<BaseModel<BrCosmetic>> response = endpoint.getCosmetics();
12+
response.ifSuccessfull(cosmetics -> {
13+
for(BrCosmetic cosmetic : cosmetics){
14+
System.out.println(cosmetic.name);
15+
}
16+
});
17+
```

0 commit comments

Comments
 (0)