fortnite-php
fortnite-php copied to clipboard
Add support for handling friends requests
This pull request does the following:
- Adds a new
sendUnrealClientDeleteRequest
static method toFortniteClient.php
for sendingDELETE
requests to Unreal Client endpoints - Adds a new parameter to
getFriends
inProfile.php
that allows the user to specify if the response should include friend requests or not. False by default. - Adds a new function called
removeFriend($id)
toProfile.php
that allows to reject a friends request or remove a friend (both actions use the same endpoint)