clegginabox / xbox-api-sdk
PHP SDK for the Unofficial Xbox API
Installs: 403
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/clegginabox/xbox-api-sdk
Requires
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2025-10-16 18:40:37 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