Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

ExpediaGroup/lodging-connectivity-nodejs-sdk

NPM Version

Expedia GroupTM Lodging Connectivity Node.js SDK

Caution

⚠️ Deprecated – No Longer Maintained

This repository is deprecated and will not receive any further updates or bug fixes.
We do not recommend using it in production or new projects.

Designed to simplify Lodging Connectivity API integration, handles the technical complexities, empowering partners to focus on their core business needs.

With robust features and seamless integration, it enhances developer productivity, providing all necessary tools to efficiently query and mutate data from GraphQL APIs.

Key Features

  1. Pre-Built Operations for Lodging Connectivity GraphQL APIs
  2. Strongly Typed Responses
  3. Authentication & Automatic Token Renewal
  4. Logging & Sensitive Data Masking
  5. Error Handling

Installation

NPM

npm install @expediagroup/lodging-connectivity-sdk

Yarn

yarn add @expediagroup/lodging-connectivity-sdk

Quick Start

Once you have the SDK dependency installed, you can start using its capabilities. The SDK contains three different clients, each linked to a separate endpoint

  1. Supply Client
  2. Payment Client
  3. Sandbox Data Management Client

Typical Usage Flow

Follow these three simple steps to start using any client in the SDK:

  1. Build the client configuration object.

    const config: ClientConfiguration = {
        key: 'YOUR_API_KEY',
        secret: 'YOUR_API_SECRET'
    };
  2. Initialize a client.

    const supplyClient = new SupplyClient(config); // Taking SupplyClient as an example
  3. Execute operations

    supplyClient.query(/* GraphQL Query */);
    // OR
    supplyClient.mutate(/* GraphQL Mutation*/);

Documentation

The list below lists detailed documentation files for some components of the SDK. Whether you're looking to configure the SDK, explore the pre-built GraphQL operations, or learn how to use specific clients, the following resources will guide you through all the necessary steps.

  1. Supply Client Documentation
  2. Payment Client Documentation
  3. Sandbox Data Management Client Documentation
  4. Configuration
  5. Exception Handling

Related Resources

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •