mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
20 lines
560 B
PHP
20 lines
560 B
PHP
<?php
|
|
require_once dirname(__FILE__) . '/../../www/config.php';
|
|
|
|
$s = new Sites();
|
|
$site = $s->get();
|
|
|
|
if (isset($site->rottentomatokey))
|
|
{
|
|
$rt = new RottenTomato($site->rottentomatokey);
|
|
|
|
//print_r($rt->getMoviesBoxOffice());
|
|
//print_r($rt->getMoviesInTheaters());
|
|
//print_r($rt->getOpeningMovies());
|
|
//print_r($rt->getUpcomingMovies());
|
|
//print_r($rt->getNewDvdReleasess());
|
|
//print_r($rt->getMovieInfo("770805418"));
|
|
//print_r($rt->getMovieReviews("770805418"));
|
|
//print_r($rt->getMovieCast("770805418"));
|
|
print_r($rt->movieSearch("moviename"));
|
|
} |