aviasales/hotellook-yii-api

There is no license information available for the latest version (v1.6) of this package.

v1.6 2013-12-02 13:39 UTC

This package is not auto-updated.

Last update: 2024-04-27 12:28:07 UTC


README

  1. Grab package via composer:

     $ composer require aviasales/hotellook-yii-api
    
  2. Add namespace alias to your application's config:

     ...
     'aliases' => array(
         'hotellook.composer.api' => 'application.vendor.aviasales.hotellook-yii-api',
     ),
     ...
    
  3. Add application component

     ...
     'components' => array(
         ...
         'hotellookApi' => array(
             'class' => 'hotellook\composer\api\Agent',
             'host' => 'http://hotellook.com/api',
             'login' => YOUR_LOGIN,
             'token' => YOUR_TOKEN,
         ),
         ...
     ),
     ...