Lodol Docs

Xbox Live

API actions for the Xbox Live integration.

Xbox Live

Retrieve Xbox Live player info, friends, activity, and achievements.


Get player profile

Retrieve a player's Xbox Live profile by gamertag.

Parameters

ParameterTypeRequiredDescription
gamertagstringYesThe Xbox Live gamertag to look up.

Response

{
  "profile": {}
}

List friends

List the friends of an Xbox player.

Parameters

ParameterTypeRequiredDescription
xuidstringYesThe Xbox user ID to list friends for.
limitnumberNoMaximum number of friends to return.

Response

{
  "friends": [
    {}
  ]
}

List recent activity

Retrieve recent Xbox Live activities for a user.

Parameters

ParameterTypeRequiredDescription
xuidstringYesThe Xbox user ID to fetch activity for.
limitnumberNoMaximum number of activities to return.

Response

{
  "activities": [
    {}
  ]
}

List game achievements

List a player's achievements for a specific game.

Parameters

ParameterTypeRequiredDescription
xuidstringYesThe Xbox user ID that owns the achievements.
title_idstringYesThe ID of the game to list achievements for.
include_unlockedbooleanNoSet to true to include achievements that are already unlocked. Defaults to true.

Response

{
  "achievements": [
    {}
  ]
}

On this page