Module launchdarkly

ballerinax/launchdarkly Ballerina library

1.5.1

Overview

This is a generated connector for LaunchDarkly API v2.0 OpenAPI specification.
LaunchDarkly is a feature management platform enables teams to deploy code at any time, even if a feature isn't ready to be released to all users.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

  1. Create an LaunchDarkly account.
  2. Obtain tokens - Follow this guide.

Quickstart

To use the LaunchDarkly connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

First, import the ballerinax/launchdarkly module into the Ballerina project.

Copy
import ballerinax/launchdarkly;

Step 2: Create a new connector instance

You can initialize the client as follows. You can now provide the API key obtained from the LaunchDarkly in the configuration.

Copy
launchdarkly:ApiKeysConfig apiKeyConfig = {
    authorization: "<API_KEY>"
}

launchdarkly:Client baseClient = check new Client(apiKeyConfig, serviceUrl = ""https://app.launchdarkly.com/api/v2"");

Step 3: Invoke connector operation

  1. You can find all of the resource categories supported.
    Copy
    launchdarkly:Links links = check baseClient->getRoot();
  2. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/launchdarkly;Copy

Metadata

Released date: 12 months ago

Version: 1.5.1

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.4.1

GraalVM compatible: Yes


Pull count

Total: 0

Current verison: 0


Weekly downloads


Source repository


Keywords

Productivity/Project Management

Cost/Freemium


Contributors

Other versions