Generate SDKs in Developer Portal

A Software Development Kit (SDK) is a set of software development tools that allows to create applications for a specific platform. If an API consumer wants to create an application, they can generate a client side SDK for a supported language/framework and use it to write a software application to consume the subscribed APIs.

Download SDK from Developer Portal

Following are the steps to generate and download client-side SDKs via API Developer Portal.

  1. Sign in to the WSO2 API Developer Portal ( https://<hostname>:<port>/devportal ) and click on the API you want to generate a client-side SDK (e.g., PizzaShackAPI )

    API Overview

  2. Navigate to SDK tab. Then you will find SDKs which are available to download by default.

    API Overview

  3. Click on the Download button to download the required SDK. Then the zip archive of the SDK will be downloaded.

    API Overview

Configuring supported languages for SDK generation

By default, android, java, javascript and jmeter SDKs are available to be downloaded via Developer Portal. In addition to that API Manager supports SDK generation for following languages too. scala, csharp, dart, flash, groovy, nodejs, perl, php, python, ruby, swift, clojure, asyncScala, csharpDotNet2.

Follow the below steps to configure the languages available for SDK generation.

  1. Open <API-M_HOME>/repository/conf/deployment.toml file.

  2. Add following configuration, specifying the required languages.

    supported_languages = "android, java, scala, csharp, dart, flash, groovy, javascript"
  3. Restart the server to get the configuration changes applied.