mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 12:35:26 +00:00
16 lines
287 B
Python
16 lines
287 B
Python
import asyncio
|
|
from pyspapi import SPAPI
|
|
|
|
spapi = SPAPI(card_id="CARD_ID", token="TOKEN")
|
|
|
|
|
|
|
|
async def main():
|
|
user = await spapi.get_user(262632724928397312)
|
|
print(user.username, user.uuid)
|
|
for card in user.cards:
|
|
print(card.name, card.number)
|
|
|
|
|
|
asyncio.run(main())
|