generate_sdk
Generate SDK code in Python, Node, or Go from a reversed API contract, including request construction, crypto signing, error handling, and usage example.
Instructions
Generate a ready-to-use SDK (Python/Node/Go) from a reversed API contract. Given endpoint URL, HTTP method, headers, body template, and the signature/encryption algorithm spec, produce a complete SDK file with: request construction, crypto signing, error handling, and usage example. Input: API spec (url, method, sign algorithm description, params). Returns SDK code in requested language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiSpec | Yes | ||
| language | No | SDK output language (default: python) |