18 lines
375 B
Python
18 lines
375 B
Python
import json
|
|
|
|
from sdgb import sdgb_api
|
|
|
|
def item(userId):
|
|
data = json.dumps({
|
|
"userId": int(userId),
|
|
"nextIndex":60000000000,
|
|
"maxCount":1000000000
|
|
})
|
|
|
|
item_result = json.loads(sdgb_api(data, "GetUserItemApi", userId))
|
|
|
|
return item_result
|
|
|
|
if __name__ == "__main__":
|
|
a = json.dumps(len(item(11593052)['userItemList']))
|
|
print(a) |