diff --git a/sdgb/GetUserPreviewApi.py b/sdgb/GetUserPreviewApi.py old mode 100644 new mode 100755 index 0874c45..6bf9f83 --- a/sdgb/GetUserPreviewApi.py +++ b/sdgb/GetUserPreviewApi.py @@ -1,16 +1,21 @@ -import json import asyncio -import httpx + +from chime import * from sdgb import MaimaiClient from settings import * maimai = MaimaiClient() +userId = qr_api(qrCode)['userID'] +token = qr_api(qrCode)['token'] + async def run_workflow(maimai): async with httpx.AsyncClient(verify=False) as client: data = { "userId": userId, - "segaIdAuthKey":"" + "segaIdAuthKey":"", + "token": token, + "clientId": clientId } result = await maimai.call_api(client, "GetUserPreviewApi", data, userId)