Samhoogantink Fortnite API Save Abandoned

Fortnite API (get player stats, leaderboards and more)

Project README

FortniteAPI.com

Fortnite API (get player stats WITH STATS V2, leaderboards and more)

Hi,

You can get user wins, kills, the latest news, fortnite server status and many more with this API.

It's easy to install, just put the fortnite-api/Autoloader.php in your directory and define the class. After that visit my documentation (https://fortniteapi.com/docs (only php) or https://goo.gl/XC6u9S (all frameworks)) and follow the steps.

Have fun!

Sam https://fortniteapi.com/

Examples

  1. Get an user id
<?php
require_once 'fortnite-api/Autoloader.php';

$api = new FortniteClient;

$data = $api->user->id('username');

echo $data->uid;
echo $data->username;
?>
  1. Get user stats V2
<?php
require_once 'fortnite-api/Autoloader.php';

$api = new FortniteClient;

$api->user->uid = 'user_id';

$data = $api->user->stats('console', 'window');

var_dump($data);
?>
  1. Get the daily store
<?php
require_once 'fortnite-api/Autoloader.php';

$api = new FortniteClient;

$data = $api->items->store();

var_dump($data);
?>

  1. Fortnite server status
<?php
require_once 'fortnite-api/Autoloader.php';

$api = new FortniteClient;

$data = $api->status->fetch();

echo $data->status;
echo $data->message;
echo $data->version;
?>
Open Source Agenda is not affiliated with "Samhoogantink Fortnite API" Project. README Source: samhoogantink/Fortnite-API
Stars
28
Open Issues
0
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating