forked from Fragrance/maquitous
17 lines
361 B
Python
17 lines
361 B
Python
import json
|
|
|
|
from sdgb import sdgb_api
|
|
|
|
def character(userId):
|
|
data = json.dumps({
|
|
"userId": int(userId),
|
|
"nextIndex":10000000000,
|
|
"maxCount":1000000000
|
|
})
|
|
|
|
character_result = json.loads(sdgb_api(data, "GetUserCharacterApi", userId))
|
|
|
|
return character_result
|
|
|
|
if __name__ == "__main__":
|
|
print(character(int(input()))) |