#Cloud Services API

1 messages · Page 1 of 1 (latest)

mystic imp
#

You can see the example here

#

something like this should work

IAdminClient client = ApiService.CreateAdminClient();
IPlayerAuthenticationAdminApi api = client.PlayerAuthentication;
var playerList = await api.ListPlayers(CloudProjectId);
#

The code for the Accounts sample are here com.unity.services.apis\Editor\Sections\Accounts

forest kernel
mystic imp
#

Services -> API Samples

forest kernel
#

haha oops. Thanks!

forest kernel
mystic imp
#

No, that one uses the admin client. Make sure the settings tab in the sample has all the correct keys set up

forest kernel
mystic imp
#

No, you don't need the terminal at all. The id and secret for the service account are set in the Editor.

forest kernel
mystic imp
#

Ah right. Yea, I'm not a fan of the MVC pattern for just this reason. I makes digging through the code a pain