-
Notifications
You must be signed in to change notification settings - Fork 0
api
Dima YaFlay edited this page Apr 13, 2023
·
1 revision
Initialization:
>>> import asyncspw
>>> api = asyncspw.api("card_id", "card_token")
>>> print(api.get_user(11111111111))
YaFlaycard_id: str - card_id is the card number received on the spworlds.ru website
card_token: str - card_token is the card token received on the spworlds.ru website
- return:
- User
- Parameters:
- discord_id: str - discord id of current user
- use_mojang_api: bool - use mojang api for get user uuid
Useful for get user. Return User if not None.
- return:
- bool
- Parameters
- discord_id: str - discord id of current user