Generate SDKs

Create an SDK via CLI

Generate an APIMatic SDK from your terminal with one command.

Note: You need the APIMatic CLI installed and a signed-in session. See the Quickstart if you haven't set it up yet.

Generate an SDK

Run the APIMatic CLI's sdk generate command and pick a language with --language:

apimatic sdk generate --language=<language>

--language is required and takes one of:

LanguageValue
C#csharp
Pythonpython
TypeScripttypescript

Example: a Python SDK as a ZIP

apimatic sdk generate --language=python --zip

The CLI prints SDK generated successfully. and tells you where the SDK was saved. --zip downloads it as a compressed file to your working directory.

Useful flags

FlagWhat it does
-i, --inputPath to your API definition or project.
-d, --destinationWhere to write the SDK.
--zipDownload the SDK as a ZIP.
-f, --forceOverwrite existing files.

To see every option:

apimatic sdk generate --help

The full list is also in the CLI Reference.

Keep your customizations

If you edit the generated code, save your changes so they carry over the next time you regenerate:

apimatic sdk save-changes --language=<language> --sdk=<path>

On this page