Skip to main content

Access Guide

Quick Start

Step 1: Import SDK

caution

During the project tuning phase, you can import the SDK debug version package, which is only used for integration testing.When the project goes online, the official version package of the SDK must be imported.

Currently, both npm package and CDN methods are supported.

$ npm install @intlsdk/dsr-api

Step 2: Use the SDK

const dsrApi = new IntlgameDSRApi({
env: "test",
channelID: 52,
gameID: 11,
accountPlatType: 52,
appID: "",
});
ParametersTypeExplanationNote
envstringSDK environment
For more information, see Obtain Deployment Cluster Information
Required
channelIDnumberSupported third-party channel IDs
For more information, see Login Channel and Channel ID Relationship
If logging in with a self-built account, use accountPlatType
Mandatory for third-party channels
appIDstringApp ID
ACCOUNT_APP_ID assigned by Player Network Console
Optional
accountPlatTypenumberSelf-built account platform type (channel ID)
ACCOUNT_PLAT_TYPE assigned by Player Network Console
Mandatory for self-built accounts
gameIDnumberPlayer Network Game Unique Identifier IDMandatory

API

For more information on the account cancellation API, see:

APIFunction Definition
queryDeleteStatusQuery Account Status
cancelDeleteAccountCancel Account Deletion