xagpy

Api wrapper for the Xag(Xbox account generator) api


License
MIT
Install
pip install xagpy==0.1

Documentation

xagpy

pip install xagpy

Api wrapper for the xag(xbox account generator) api

How to use

  1. Join this discord server

  2. 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)