xagpy
pip install xagpy
Api wrapper for the xag(xbox account generator) api
How to use
-
Join this discord server
-
Do /apitoken (this will be your token)
Example code
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)
Need any help?
Feel free to contact me on discord(linked in my github profile)