Hello,
I downloaded the api file to make an admin panel of my server, but impossible to retrieve information from it.
I did import my file, but 0 results from any functions.
Can you help me ?
@section('content') <?php require app_path().'/mojang-api.class.php'; ?> <div class="content"> <?php $name = MojangAPI::getUsername('6ce86bff-695f-4a5b-b6c5-7e924975f74b'); echo 'Name: <b>' . $name . '</b><br>'; ?> </div> @endsection

Hello,
I downloaded the api file to make an admin panel of my server, but impossible to retrieve information from it.
I did import my file, but 0 results from any functions.
Can you help me ?
@section('content') <?php require app_path().'/mojang-api.class.php'; ?> <div class="content"> <?php $name = MojangAPI::getUsername('6ce86bff-695f-4a5b-b6c5-7e924975f74b'); echo 'Name: <b>' . $name . '</b><br>'; ?> </div> @endsection