Play Store API is an unofficial version of Google Play Store which will let you pullup applications from google play store using18 different functions covering almost everything from google store
Class itself does all required error handling. All functions will return 0 in case of any error and will return array of data in case of success.
- Getting Top Paid Apps
- Getting Top Free Apps
- Getting Top Grossing Apps
- Getting Top New Paid Apps
- Getting Top New Free Apps
- Getting Top Paid Games
- Getting Top Free Games
- Getting Trending Apps
- Getting Staff Picks
- Getting Staff Picks For Tablet
- List All Categories
- Finding Paid Items In A Category
- Finding Free Items In A Category
- Finding Items From A Certain Developer
- Search Items
- Getting Item Info
- Finding Related Viewed Items
- Finding Related Installed
<pre class="brush:php">
include_once('api/playStoreApi.php'); // including class file
$class_init = new PlayStoreApi; // initiating class
/* WITHOUT PARAMERTER */
$topPaidApps = $class_init->topPaidApps(); // calling topPaidApps
/* PAGINATION PARAMETER */
// You can easily add the page numbers to paginate the result
$page = 2;
$topPaidApps = $class_init->topPaidApps($page); // calling topPaidApps
if($topPaidApps !== 0)
{
print_r($topPaidApps); // it will show all data inside an array
}
</pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topFreeApps = $class_init->topFreeApps(); // calling topFreeApps /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topFreeApps = $class_init->topFreeApps($page); // calling topFreeApps if($topFreeApps !== 0) { print_r($topFreeApps); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topGrossingApps = $class_init->topGrossingApps(); // calling topGrossingApps /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topGrossingApps = $class_init->topGrossingApps($page); // calling topGrossingApps if($topGrossingApps !== 0) { print_r($topGrossingApps); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topNewPaidApps = $class_init->topNewPaidApps(); // calling topNewPaidApps /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topNewPaidApps = $class_init->topNewPaidApps($page); // calling topNewPaidApps if($topNewPaidApps !== 0) { print_r($topNewPaidApps); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topNewFreeApps = $class_init->topNewFreeApps(); // calling topNewFreeApps /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topNewFreeApps = $class_init->topNewFreeApps($page); // calling topNewFreeApps if($topNewFreeApps !== 0) { print_r($topNewFreeApps); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topPaidGames = $class_init->topPaidGames(); // calling topPaidGames /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topPaidGames = $class_init->topPaidGames($page); // calling topPaidGames if($topPaidGames !== 0) { print_r($topPaidGames); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topFreeGames = $class_init->topFreeGames(); // calling topFreeGames /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topFreeGames = $class_init->topFreeGames($page); // calling topFreeGames if($topFreeGames !== 0) { print_r($topFreeGames); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $topTrendingApps = $class_init->topTrendingApps(); // calling topTrendingApps /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $topTrendingApps = $class_init->topTrendingApps($page); // calling topTrendingApps if($topTrendingApps !== 0) { print_r($topTrendingApps); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $staffPicks = $class_init->staffPicks(); // calling staffPicks /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $staffPicks = $class_init->staffPicks($page); // calling staffPicks if($staffPicks !== 0) { print_r($staffPicks); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PARAMERTER */ $staffPicksForTablet = $class_init->staffPicksForTablet(); // calling staffPicksForTablet /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $staffPicksForTablet = $class_init->staffPicksForTablet($page); // calling staffPicksForTablet if($staffPicksForTablet !== 0) { print_r($staffPicksForTablet); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class$listCategories = $class_init->listCategories(); // calling listCategories if($listCategories !== 0) { print_r($listCategories['Games']); // it will show all games cateogry inside an array print_r($listCategories['Applications']); // it will show all games cateogry inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PAGINATION PARAMERTER */ $category_name = 'Themes' $categoryPaidItems = $class_init->categoryPaidItems($category_name); // calling categoryPaidItems /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $categoryPaidItems = $class_init->categoryPaidItems($category_name,$page); // calling categoryPaidItems if($categoryPaidItems !== 0) { print_r($categoryPaidItems); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PAGINATION PARAMERTER */ $category_name = 'Themes' $categoryFreeItems = $class_init->categoryFreeItems($category_name); // calling categoryFreeItems /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $categoryFreeItems = $class_init->categoryFreeItems($category_name,$page); // calling categoryFreeItems if($categoryFreeItems !== 0) { print_r($categoryFreeItems); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PAGINATION PARAMERTER */ $developer_name = 'ZYNGA' $developerItems = $class_init->developerItems($developer_name); // calling developerItems /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $developerItems = $class_init->developerItems($developer_name,$page); // calling developerItems if($developerItems !== 0) { print_r($developerItems); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* SEARCH PARAMETERE */ $search_query = 'Go Themes'; $sort = 'Popularity' // Popularity OR Relevance ( OPTIONAL ) $price = 'All' // Free OR Paid OR All ( OPTIONAL ) $safe_search = 'Off' // Off OR On ( OPTIONAL ) /* WITHOUT PAGINATION PARAMERTER */ $searchStore = $class_init->searchStore($search_query,$sort,$price,$safe_search); // calling searchStore /* PAGINATION PARAMETER */ // You can easily add the page numbers to paginate the result $page = 2; $searchStore = $class_init->searchStore($search_query,$sort,$price,$safe_search,$page); // calling searchStore if($searchStore !== 0) { print_r($searchStore); // it will show all data inside an array } </pre>
include_once('api/playStoreApi.php'); // including class file $class_init = new PlayStoreApi; // initiating class/* WITHOUT PAGINATION PARAMERTER */ $item_id = 'com.golauncher.go' $itemInfo = $class_init->itemInfo($item_id); // calling itemInfo if($itemInfo !== 0) { print_r($itemInfo); // it will show all data inside an array } </pre>