SDK Initialization
Before using the Matchmaking service from the SDK, you will need to initialize your server-side SDK to ensure that you authorized and able to perform create, read, update, and delete actions.
Golang SDK Initialization
Before using the Matchmaking service from the Golang SDK, you will need to initialize the SDK by following the steps below:
- Create your OAuth Client and assign the necessary permissions to access the Matchmaking service.
- Log in as a Client using the SDK.
- Initialize the Matchmaking service using the following function:
matchmakingService := &m.MatchmakingService{
Client: factory.NewMatchmakingClient(&repository.ConfigRepositoryImpl{}),
TokenRepository: &repository.TokenRepositoryImpl{},
}
Once completed, you can use the Golang SDK to create, read, update, or delete Matchmaking from your serverless app.
Python SDK Initialization
Before using the Matchmaking service from the Python SDK, you will need to initialize the SDK by following the steps below:
- Create your OAuth Client and assign the necessary permissions to access the Matchmaking service.
- Log in as a Client using the SDK.
Once completed, you can use the Python SDK to create, read, update, or delete Matchmaking from your serverless app.
.NET (C#) SDK Initialization
Before using the Matchmaking service, you will need to set some permissions. Use the following .NET namespaces:
using AccelByte.Sdk.Api.Matchmaking.Model;
using AccelByte.Sdk.Api.Matchmaking.Operation;
using AccelByte.Sdk.Api.Matchmaking.Wrapper;
Java SDK Initialization
Before using the Matchmaking service, you will need to set some permissions. Initialize the Matchmaking wrapper from the Matchmaking service using the following code:
Matchmaking wMatchmaking = new Matchmaking(sdk);
Once completed, you can use the SDK to create, read, update, or delete matchmaking.