Skip to main content

Integration Guide

Quick Start Guide

Step 1: Install the SDK

Install the SDK from npm or CDN.

$ npm install @intlsdk/dsr-api

Step 2: Instantiate SDK

const dsrApi = new IntlgameDSRApi({
env: "test",
channelID: 52,
gameID: 11,
accountPlatType: 52,
appID: "",
});
ParameterTypeDescriptionRemark
envstringSDK environment
For more information, see Retrieve cluster information
Required
channelIDnumberChannel ID of supported third-party channels
For more information, see Login Channel and ChannelID Relationship
If logged in with a custom account, use accountPlatType
Required for third-party channels
appIDstringApp ID
ACCOUNT_APP_ID assigned by Player Network Console
Optional
accountPlatTypenumberPlatform type (channel ID) of the custom account
ACCOUNT_PLAT_TYPE assigned by Player Network Console
Required for custom account
gameIDnumberPlayer Network unique game IDRequired

API

For more information on the account deletion APIs, see:

APIFunction
queryDeleteStatusQueries account deletion status
cancelDeleteAccountCancels account deletion