Create SDK through APIMatic CLI
APIMatic CLI allows automatic SDK generation for your APIs in multiple popular languages. You can use the apimatic sdk generate
command to create an SDK for your API.
$ apimatic sdk generate
The following command generates a Python SDK for an API defined in filename.json. It also downloads the SDK to your working directory as a .zip file.
$ apimatic sdk generate --language=python --spec="./spec" --zip
The output of this command on successful execution is:
┌ Generate SDK
│
◇ SDK generated successfully.
│
● Generated SDK can be found at 'C:\sdk\python'.
│
└ Succeeded
You can tweak this command as per your requirement. To find the list of languages supported by this command, run this command:
$ apimatic sdk generate --help
It will show you what languages you can opt for to generate SDK.
--language=<option> (required) Programming language for SDK generation
<options: csharp|java|php|python|ruby|typescript|go>