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 friends for a given Xbox user identifier.

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 title achievements

List achievements for a specific title and user.

Parameters

ParameterTypeRequiredDescription
xuidstringYesThe Xbox user ID that owns the achievements.
title_idstringYesThe title ID whose achievements should be fetched.
include_unlockedbooleanNoWhether to include already unlocked achievements (default true).

Response

{
  "achievements": [
    {}
  ]
}

On this page