Metadata-Version: 2.1
Name: xagpy
Version: 0.55
Summary: Api wrapper for the Xag(Xbox account generator) api
Home-page: https://github.com/dropalways/xagpy
License: MIT
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests

# xagpy

```
pip install xagpy
```

Api wrapper for the xag(xbox account generator) api

# How to use

1. Join this [discord server](https://discord.gg/Ytbnqh2PvM)

2. Do /apitoken (this will be your token)



# Example code

> Get current coins in balance

```py
from xagpy import xagpy

token = ""
xagpy = xagpy(token)
coins = xagpy.get_coins()
print("Coins:", coins)
```

> Generate an account

```py
from xagpy import xagpy

token = ""
xagpy = xagpy(token)
account = xagpy.generate_account()
print("Generated Account:", account)
```

> Generate an account in test mode

```py
from xagpy import xagpy

token = ""
xagpy = xagpy(token)
account = xagpy.generate_account(test_mode=True)
print("Generated Account:", account)
```

> Get current stock

```py
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](https://github.com/dropalways))
