PHP code example of developing-sonder / omdb
1. Go to this page and download the library: Download developing-sonder/omdb 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/ */
developing-sonder / omdb example snippets
$omdb = new Omdb;
$theMatrix = $omdb->find('tt0111161');
$omdb = new Omdb;
$results = $client->search('wife');
$query = new Query();
$query->movie()
->plot('short')
->setSearchTerm('lego');
$client = new Omdb($query);
$results = $client->get();
php
$omdb = new Omdb;
$shawshank = $omdb->byTitle('The Shawshank Redemption');