v3 asyncio/aiohttp alpha

This commit is contained in:
deesiigneer
2022-08-15 23:26:36 +03:00
parent 63ee509067
commit c08394addf
26 changed files with 376 additions and 350 deletions

View File

@@ -48,7 +48,7 @@ Checking the balance
import pyspapi
print(pyspapi.SPAPI(card_id='card_id', token='token').balance)
print(await pyspapi.API(card_id='card_id', token='token').balance)
More examples can be found in the `examples <https://github.com/deesiigneer/pyspapi/tree/main/examples>`_
@@ -57,5 +57,6 @@ Links
- `Discord server <https://discord.gg/VbyHaKRAaN>`_
- `pyspapi documentation <https://pyspapi.readthedocs.io/>`_
- `API documentation <https://spworlds.readthedocs.io>`_
- `PyPi <https://pypi.org/project/pyspapi/>`_
- `API documentation for SP sites <https://github.com/sp-worlds/api-docs>`_