PHP wrapper for the official Fortnite API - http://fortnite.midorfeed.net
Include the API class into your project.You will need an API key from https://fortniteapi.com/
Use your API key in curl_get() function to make your first API call!
$data = API::leaderboards(100,0,'kills');
$data = API::leaderboards(100,0,'wins');
$data = API::leaderboards(100,0,'matches');
$data = API::leaderboards(100,0,'score');
$data = API::getChallenges('season7');
$data = API::store('en');
$data = API::upcoming('en');
$data = API::news('br','en');
$data = API::pveInfo();
$data = API::patchNotes();
$data = API::news('br','en');
$data = API::getWeapons();
$data = API::getPlayerId($username);
$data = API::getPlayerStats($user_id,$platform);