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

Workflow

Account deletion

Image: Account deletion

Account data download

Image: Account data download

API

For more information on the account deletion APIs, see:

APIFunction
queryDeleteStatusQueries account deletion status
sendCodeForDeleteAccountSends account deletion verification code
verifyCodeForDeleteAccountVerifies account deletion verification code
cancelDeleteAccountCancels account deletion
queryDownloadStatusQueries account download status
sendCodeForDownloadAccountSends account data download verification code
verifyCodeForDownloadAccountVerifies account data download verification code
sendCodeForDownloadUrlSends verification code for getting download URL
verifyCodeForDownloadUrlVerifies verification code for getting download URL