Пример #1
0
// Includes
include "appstore.inc.php";
// Set the APP ID we want to get reviews for
$appID = $_GET["id"];
if (strlen($appID) == 0) {
    $appID = "577499909";
}
// Set the country we want to get details for
$country = $_GET["country"];
if (strlen($country) == 0) {
    $country = "US";
}
// Download the most recent reviews
$_APPSTORE = new APPSTORE($appID, $country);
$arrReviews = $_APPSTORE->reviewsForPage(0);
$appName = $_APPSTORE->appName();
$appIcon = $_APPSTORE->appIcon();
$appDeveloper = $_APPSTORE->appDeveloper();
$appTotalStars = $_APPSTORE->appTotalStars();
$appTotalRatings = $_APPSTORE->appTotalRatings();
$appCurrentStars = $_APPSTORE->appCurrentStars();
$appCurrentRatings = $_APPSTORE->appCurrentRatings();
$appCategoryName = $_APPSTORE->appCategoryName();
$appCategoryID = $_APPSTORE->appCategoryID();
$appRankCategory = $_APPSTORE->appRankCategory();
$appRankCategoryGrossing = $_APPSTORE->appRankCategoryGrossing();
$appName = htmlentities($appName);
$appDeveloper = htmlentities($appDeveloper);
?>
<HTML>
	<HEAD>