PHP code example of kissifrot / apai-io-bundle
1. Go to this page and download the library: Download kissifrot/apai-io-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kissifrot / apai-io-bundle example snippets
// in AppKernel::registerBundles()
$bundles = array(
// ...
new Exeu\ApaiIOBundle\ExeuApaiIOBundle(),
// ...
);
php
$apaiIo = $this->get('apaiio');
php
// ...
$search = new \ApaiIO\Operations\Search();
$search->setCategory('DVD');
$search->setActor('Bruce Willis');
$search->setKeywords('Die Hard');
$formattedResponse = $apaiIo->runOperation($search);
var_dump($formattedResponse);