mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 04:25:25 +00:00
13 lines
225 B
Python
13 lines
225 B
Python
from pyspapi import SPAPI
|
|
from asyncio import get_event_loop
|
|
|
|
spapi = SPAPI(card_id='CARD_ID', token='TOKEN')
|
|
|
|
|
|
async def main():
|
|
me = await spapi.me
|
|
print(me)
|
|
|
|
loop = get_event_loop()
|
|
loop.run_until_complete(main())
|