clegginabox/xbox-api-sdk

There is no license information available for the latest version (dev-master) of this package.

PHP SDK for the Unofficial Xbox API

dev-master 2016-06-30 15:25 UTC

This package is auto-updated.

Last update: 2024-05-16 15:31:27 UTC


README

This is an unofficial SDK for https://xboxapi.com

Usage

include_once 'vendor/autoload.php';

$xbox = new \Clegginabox\Xbox\ApiClient('your-api-key');

$xuid = $xbox->getXuidByGamertag('clegginabox');
$userProfile = $xbox->getProfile($xuid);
$presence = $xbox->getPresence($xuid);
$gamerCard = $xbox->getGamercard($xuid);
$activity = $xbox->getActivity($xuid);
$recentActivity = $xbox->getRecentActivity($xuid);
$friends = $xbox->getFriends($xuid);
$gameClips = $xbox->getGameClips($xuid);

Better documentation to follow