Netflix API 1.0
by Aziz S. Hussain
azizsaleh@gmail.com
http://azizsaleh.com
Usage Requirements:
Usage Examples:
define ('BASE_DIR', dirname(__FILE__) .'/');
require_once ( BASE_DIR . 'Configuration.php');
require_once ( BASE_DIR . 'includes/NetflixAPI.php');
require_once ( BASE_DIR . 'includes/Request.php');
require_once ( BASE_DIR . 'includes/OAuthSimple.php');
require_once ( BASE_DIR . 'netflix/nonAuthenticatedCall.php');
require_once ( BASE_DIR . 'netflix/protectedCall.php');
require_once ( BASE_DIR . 'netflix/signedCall.php');
require_once ( BASE_DIR . 'netflix/getToken.php');
$Netflix = new NetflixAPI();
$results = $Netflix->getCatalogTitlesAutoComplete('Fun');
// $results is now an array containing the results
Available Call List [For more detailed information regarding these calls click on this link]:
Note: For each title, you can find the URLs to retrieve the title's details in the responses from other resource queries (e.g., search results, queue responses, and so forth) that reference titles. The links within those responses contain the URLs for retrieving a title's details. You should never attempt to construct a title URL directly.
@param string movie_id
@param string type = movies (movies, series, programs, or discs)
@param int season_id = null
@return array
public function getTitleDetails ($movie_id, $type = 'movies', $season_id = NULL)