Python module to get data from www.xboxgamertag.com
pip install xboxgamertag
from xboxgamertag import gamertag
user = Gamertag('WoolDoughnut310') # My gamertag is WoolDoughnut310, by the way
# Get my amount of gamerscore
print(user.gamerscore)
# If you want to see how many games I have played in total
print(user.total_games_played)
class GamertagNotFoundError(Exception):
pass
-
class
xboxgamertag.Gamertag
( name ) -
Initializes the Gamertag class and returns an object
BASE_URL = "https://www.xboxgamertag.com"
-
games_played
¶ -
All the games the user has played
Returns list ofPlayedGame
objects
-