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
Requires
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2025-01-16 16:59:45 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