Docs: Generate Code Example
docs-generate-code-exampleGenerate code examples for Gameball API endpoints in your chosen language, including JavaScript, Python, C#, Go, PHP, or Java. Provide endpoint, method, and request body to get ready-to-use code.
Instructions
Generate a code example for a Gameball API endpoint in a specific programming language. Use when the user asks for code in a specific language (not cURL, which is already included in docs-get-api-endpoint).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON request body to include | |
| method | Yes | HTTP method: GET, POST, PUT, DELETE | |
| endpoint | Yes | API path, e.g. "/api/v4.0/integrations/customers" | |
| language | Yes | Language: javascript, python, csharp, go, php, java |