Generate game-side client code
specter_generate_client_codeGenerate ready-to-paste game integration code wired with your API key and event slug. Supports login, events, tasks, and wallet in JavaScript or Unity C#.
Instructions
Generate ready-to-paste game integration code (v2 client REST) wired with this project's real client api-key + a real event slug. Covers login, firing events, reading tasks, and wallet. JS works anywhere; C# is dependency-free Unity (the official Specter Unity SDK is recommended for production).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | "js" (browser/Node/RN) or "csharp" (Unity UnityWebRequest) | |
| projectId | No |