Init: v1 release

This commit is contained in:
91c0e59d-6161-45ab-8aa4-2371574db28f
2025-12-31 13:11:37 +08:00
commit a9c4236bfb
11 changed files with 740 additions and 0 deletions

19
sdgb/GetUserPreviewApi.py Normal file
View File

@@ -0,0 +1,19 @@
import json
import asyncio
import httpx
from sdgb import MaimaiClient
from settings import *
maimai = MaimaiClient()
async def run_workflow(maimai):
async with httpx.AsyncClient(verify=False) as client:
data = {
"userId": userId,
"segaIdAuthKey":""
}
result = await maimai.call_api(client, "GetUserPreviewApi", data, userId)
# 执行入口
if __name__ == "__main__":
asyncio.run(run_workflow(maimai))