thewulf7 / tripadvisor
There is no license information available for the latest version (1.0.4) of this package.
Yii component to parse data from tripadvisor
1.0.4
2016-04-06 09:15 UTC
Requires
- php: >=5.4.0
- paquettg/php-html-parser: 1.6.8
- yiisoft/yii2: *
Requires (Dev)
- phpunit/php-invoker: >=1.1.0@stable
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-09 20:01:42 UTC
README
Installation
Begin by installing this package through Composer.
{ "require": { "thewulf7/tripadvisor": "dev-master" } }
'components' => [ ... 'tripadvisor' => [ 'class' => 'thewulf7\tripadvisor\Connection' ] ... ]
Usage
Retrieve data
$trip = \Yii::$app->get('tripadvisor'); return $trip->createCommand()->search('Moscow');
Same with QueryBuilder
$query = new \thewulf7\tripadvisor\Query(); $query ->setAction() ->addType('geo') ->setQuery('Moscow') ->setDetails(false); return $query ->createCommand() ->search();
More examples in tests forlder
Issues with existing library