Saladpy

Latest version: v1.0.2a5

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.2a.5

Add compatibility for SaladCord.

1.0.2alpha.4

Allow one client instance to use multiple different tokens using `kwargs`.

For example you can do: `await client.balance(token=TOKEN)`.

1.0.2alpha.3

**Full Changelog**: https://github.com/Coddo-Python/SaladPy/compare/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.

python
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())

1.0.2alpha.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

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.