Overview

Anypointâ„¢ Connector for Google QPX allows to interact with Google QPX Express API and provides the ability to search for flights and use this data into your Mule apps.

The Google QPX Express API allows developers to access information on global airline pricing and availability. By integrating the API into their applications, developers can provide their customers with airfare pricing and shopping services. With one query, QPX Express searches airline schedules, fares, tax rules, and seat availability in order to return fully-priced, availability-checked flight options and booking information.

Read through this user guide to understand how to set up and configure a basic flow using the connector. Track feature additions, compatibility, limitations, and API version updates with each release of the connector using the Connector Release Notes. Review the connector operations and functionality using the Technical Reference along side the demo applications.

MuleSoft maintains this connector under the Community support policy.

Important Concepts

This document assumes that you are familiar with Mule, Anypoint Connectors, and Anypoint Studio. To increase your familiarity with Studio, consider completing a Anypoint Studio Tutorial. This page requires basic knowledge of Mule Concepts, Elements in a Mule Flow, and Global Elements.

Hardware and Software Requirements

For hardware and software requirements, visit the Connector Release Notes.

How to Install

You can download the source code and build it with devkit to find it available on your local repository. Then you can add it to Studio

Upgrading from an Older Version

Since this is the first version of Expedia Connector, upgrading from older version is not applicable.

Connector Namespace and Schema

When designing your application in Anypoint Studio, when you drag the connector from the palette onto the Anypoint Studio canvas, Studio automatically populates the XML code with the connector namespace and schema location.

Namespace: http://www.mulesoft.org/schema/mule/google-qpx
Schema Location: http://www.mulesoft.org/schema/mule/connector/current/mule-google-qpx.xsd

Tip
If you are manually coding the Mule application in Studio’s XML editor or another text editor, define the namespace and schema location in the header of your Configuration XML, inside the <mule> tag.
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:connector="http://www.mulesoft.org/schema/mule/google-qpx"
      xsi:schemaLocation="
               http://www.mulesoft.org/schema/mule/core
               http://www.mulesoft.org/schema/mule/core/current/mule.xsd
               http://www.mulesoft.org/schema/mule/connector
               http://www.mulesoft.org/schema/mule/connector/current/mule-google-qpx.xsd">

      <!-- put your global configuration elements and flows here -->

</mule>

Note: Use current in the schema path. Studio interprets this to the current Mule version.

Maven Dependency Information

For Maven dependency management, include this XML snippet in your pom.xml file.

<dependency>
  <groupId>org.mule.modules</groupId>
  <artifactId>google-qpx-connector</artifactId>
  <version>1.0.0</version>
</dependency>

How to Configure

Place the connector in your flow as applicable for your use case.

To use the Google QPX connector in your Mule application, you must configure a global Google QPX element that can be used by the Google QPX connector (read more about Global Elements). The Google QPX connector provides the following global configuration(s), requiring the following credentials:

Field Description

API Key

A valid Google QPX API key. How to generate API key.

Operations

The below list of operations can be performed by using Google QPX Connector

Operation Description

Trips

Returns a list of flights including the flight details and price

Demo Applications Using Connector

You can find demo apps here

Resources