File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ has already been initialized, use `PlayerZero.isInitialized()`.
3030
3131### PlayerZero API
3232
33- * ` PlayerZero.init(projectId : string, options: {endpoint?: string, privacyFnUrl?: string}) ` - Initialize PlayerZero with
34- your Project ID and optional configuration. The project id can be found on [ PlayerZero's] ( https://playerzero.ai )
33+ * ` PlayerZero.init(apiToken : string, options: {endpoint?: string, privacyFnUrl?: string}) ` - Initialize PlayerZero with
34+ your API Token and optional configuration. The API Token can be found on [ PlayerZero's] ( https://playerzero.ai )
3535 ` Project Settings ` under the ` Web SDK ` area.
3636* ` PlayerZero.isInitialized(): Boolean ` - Returns ` true ` if PlayerZero is initialized.
3737* ` PlayerZero.identify(userId: string, metadata: Record<string, unknown>) ` - Identify the current user and associate
You can’t perform that action at this time.
0 commit comments