# aio-lib-launch **Repository Path**: mirrors_adobe/aio-lib-launch ## Basic Information - **Project Name**: aio-lib-launch - **Description**: 🚧 (WIP) Adobe I/O Javascript SDK wrapping Adobe Experience Platform Launch APIs - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Version](https://img.shields.io/npm/v/@adobe/aio-lib-launch.svg)](https://npmjs.org/package/@adobe/aio-lib-launch) [![Downloads/week](https://img.shields.io/npm/dw/@adobe/aio-lib-launch.svg)](https://npmjs.org/package/@adobe/aio-lib-launch) [![Build Status](https://travis-ci.com/adobe/aio-lib-launch.svg?branch=master)](https://travis-ci.com/adobe/aio-lib-launch) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Codecov Coverage](https://img.shields.io/codecov/c/github/adobe/aio-lib-launch/master.svg?style=flat-square)](https://codecov.io/gh/adobe/aio-lib-launch/) # Adobe I/O - Adobe Experience Launch API Lib ### Installing ```bash $ npm install @adobe/aio-lib-launch ``` ### Usage 1) Initialize the SDK ```javascript const sdk = require('@adobe/aio-lib-launch') async function sdkTest() { //initialize sdk const client = await sdk.init('', 'x-api-key', '') } ``` 2) Call methods using the initialized SDK ```javascript const sdk = require('@adobe/aio-lib-launch') async function sdkTest() { // initialize sdk const client = await sdk.init('', 'x-api-key', '') // call methods try { // get... something const result = await client.getEnvironment('my-environment-id') console.log(result) } catch (e) { console.error(e) } } ``` ## Classes
ExperienceLaunchAPI

This class provides methods to call your ExperienceLaunchAPI APIs. Before calling any method initialize the instance by calling the init method on it with valid values for imsOrgId, apiKey and accessToken

## Functions
init(imsOrgId, apiKey, accessToken) ⇒ Promise.<ExperienceLaunchAPI>

Returns a Promise that resolves with a new ExperienceLaunchAPI object.

## Typedefs
MyParameters : object

An example of a typed object.

AnotherThing : object

Another typed object.

## ExperienceLaunchAPI This class provides methods to call your ExperienceLaunchAPI APIs. Before calling any method initialize the instance by calling the `init` method on it with valid values for imsOrgId, apiKey and accessToken **Kind**: global class * [ExperienceLaunchAPI](#ExperienceLaunchAPI) * [.imsOrgId](#ExperienceLaunchAPI+imsOrgId) : string * [.apiKey](#ExperienceLaunchAPI+apiKey) : string * [.accessToken](#ExperienceLaunchAPI+accessToken) : string * [.init(imsOrgId, apiKey, accessToken)](#ExperienceLaunchAPI+init) ⇒ [Promise.<ExperienceLaunchAPI>](#ExperienceLaunchAPI) * [.getEnvironment(id)](#ExperienceLaunchAPI+getEnvironment) ⇒ Promise.<Response> ### experienceLaunchAPI.imsOrgId : string The IMS Org Id **Kind**: instance property of [ExperienceLaunchAPI](#ExperienceLaunchAPI) ### experienceLaunchAPI.apiKey : string The api key from your integration **Kind**: instance property of [ExperienceLaunchAPI](#ExperienceLaunchAPI) ### experienceLaunchAPI.accessToken : string The access token from your integration **Kind**: instance property of [ExperienceLaunchAPI](#ExperienceLaunchAPI) ### experienceLaunchAPI.init(imsOrgId, apiKey, accessToken) ⇒ [Promise.<ExperienceLaunchAPI>](#ExperienceLaunchAPI) Initializes a ExperienceLaunchAPI object and returns it. **Kind**: instance method of [ExperienceLaunchAPI](#ExperienceLaunchAPI) **Returns**: [Promise.<ExperienceLaunchAPI>](#ExperienceLaunchAPI) - a ExperienceLaunchAPI object | Param | Type | Description | | --- | --- | --- | | imsOrgId | string | the IMS Org Id | | apiKey | string | the API key for your integration | | accessToken | string | the access token for your integration | ### experienceLaunchAPI.getEnvironment(id) ⇒ Promise.<Response> Get an Environment by Id. **Kind**: instance method of [ExperienceLaunchAPI](#ExperienceLaunchAPI) **Returns**: Promise.<Response> - the response | Param | Type | Description | | --- | --- | --- | | id | string | the environment id | ## init(imsOrgId, apiKey, accessToken) ⇒ [Promise.<ExperienceLaunchAPI>](#ExperienceLaunchAPI) Returns a Promise that resolves with a new ExperienceLaunchAPI object. **Kind**: global function **Returns**: [Promise.<ExperienceLaunchAPI>](#ExperienceLaunchAPI) - a Promise with a ExperienceLaunchAPI object | Param | Type | Description | | --- | --- | --- | | imsOrgId | string | the IMS Org Id | | apiKey | string | the API key for your integration | | accessToken | string | the access token for your integration | ## MyParameters : object An example of a typed object. **Kind**: global typedef **Properties** | Name | Type | Description | | --- | --- | --- | | optionA | string | some option | | optionB | string | another option | ## AnotherThing : object Another typed object. **Kind**: global typedef **Properties** | Name | Type | Description | | --- | --- | --- | | mayBeSomething | boolean | an option | ### Debug Logs ```bash LOG_LEVEL=debug ``` Prepend the `LOG_LEVEL` environment variable and `debug` value to the call that invokes your function, on the command line. This should output a lot of debug data for your SDK calls. ### Contributing Contributions are welcome! Read the [Contributing Guide](./.github/CONTRIBUTING.md) for more information. ### Licensing This project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.