Repository navigation
Releases
Releases · Coddo-Python/SaladPy
v1.0.2-a.5
Add compatibility for SaladCord.
v1.0.2-alpha.4
Allow one client instance to use multiple different tokens using kwargs.
For example you can do: await client.balance(token=TOKEN).
v1.0.2-alpha.3
Full Changelog: v1.0.2-alpha.2...v1.0.2-alpha.3
Adds support for using a bearer token found inside the Salad user's token.txt file.
Here is some demo code using the token.
import saladpy
import asyncio
TOKEN = "mytoken"
async def main():
client = saladpy.SaladClient(token=TOKEN)
# Get Balance
balance = await client.balance()
print("Your Salad balance is", balance.currentBalance)
# Safely close SaladClient (Highly Recommended)
await client.close()
asyncio.run(main())v1.0.2-alpha.2
The First Release!!!
This is the first release of SaladPy in its alpha state! Basic operations with the Salad API work amazingly! However, some things which don't work/need to be tested can be seen below!
Things that are still dodgy
- Refreshing token
- Retrieving bonuses