mirror of
https://git.fragrance.moe/Fragrance/eaquira.git
synced 2025-01-16 08:56:53 +00:00
Init Commit
This commit is contained in:
16
sdgb/preview.py
Normal file
16
sdgb/preview.py
Normal file
@ -0,0 +1,16 @@
|
||||
import json
|
||||
|
||||
from sdgb import sdgb_api
|
||||
from settings import userId
|
||||
|
||||
def preview(userId):
|
||||
data = json.dumps({
|
||||
"userId": int(userId)
|
||||
})
|
||||
|
||||
preview_result = sdgb_api(data, "GetUserPreviewApi", userId)
|
||||
|
||||
return preview_result
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(preview(userId))
|
Reference in New Issue
Block a user