pip install xagpy
Api wrapper for the xag(xbox account generator) api
-
Join this discord server
-
Do /apitoken (this will be your token)
Get current coins in balance
from xagpy import xagpy
token = ""
xagpy = xagpy(token)
coins = xagpy.get_coins()
print("Coins:", coins)
Generate an account
from xagpy import xagpy
token = ""
xagpy = xagpy(token)
account = xagpy.generate_account()
print("Generated Account:", account)
Generate an account in test mode
from xagpy import xagpy
token = ""
xagpy = xagpy(token)
account = xagpy.generate_account(test_mode=True)
print("Generated Account:", account)
Get current stock
from xagpy import xagpy
stock = xagpy.get_stock()
print("Stock Data:", stock)
Feel free to contact me on discord(linked in my github profile)