mirror of
https://git.fragrance.moe/Fragrance/maquitous.git
synced 2025-01-16 08:57:24 +00:00
Init Commit
This commit is contained in:
12
userdata.py
Normal file
12
userdata.py
Normal file
@ -0,0 +1,12 @@
|
||||
import json
|
||||
|
||||
from sdgb import sdgb_api
|
||||
|
||||
def userdata(userId):
|
||||
data = json.dumps({
|
||||
"userId": int(userId)
|
||||
})
|
||||
|
||||
userdata_result = json.loads(sdgb_api(data, "GetUserDataApi", userId))
|
||||
|
||||
return userdata_result
|
Reference in New Issue
Block a user