I would like to impliment Python SDK as the function part of our system. QuickStart is fine, but I want to receive success/falilure response with PlayFabClientAPI.LoginWithCustomID from outside of function. How can I get callback or response this function?
I tried to modify sample code like the follow, but NONE anytime.
from playfab import PlayFabClientAPI, PlayFabSettings PlayFabSettings.TitleId = "144" request = { "CustomId": "GettingStartedGuide", "CreateAccount": True } def callback(success, failure): if success: return True else: return False cb = PlayFabClientAPI.LoginWithCustomID(request, callback)