expedia-api

### Install ```bash npm install expedia-api --save ```

Usage no npm install needed!

<script type="module">
  import expediaApi from 'https://cdn.skypack.dev/expedia-api';
</script>

README

Expedia API

Install

  npm install expedia-api --save

Sample initialize defines.

  var options = {
    cid: // YOUR CID,
    apiKey: // YOUR APIKEY,
    sharedSecret: // YOUR SHARED_SECRET
  }

  Expedia = require("expedia-api")(options);

Sample hotels list.

List hotels available in Seattle City, USA.

  Expedia.hotels(
    {
      city: "Seattle",
      stateProvinceCode: "WA",
      countryCode: "US",
      arrivalDate: "05/05/2016",
      departureDate: "05/08/2016",
      room1: "2"
    }
  , function (response) {
    // JSON Response.
    console.log(response);
  });

Test in your broswer

https://tonicdev.com/npm/expedia-api