PHP code example of stren-12 / apps-scraper

1. Go to this page and download the library: Download stren-12/apps-scraper 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/ */

    

stren-12 / apps-scraper example snippets


use AppsScraper\AppsScraper;
$AppsScraper = new AppsScraper('com.google.android.youtube');
echo var_dump($AppsScraper->GetAppData())
/* output: array(4) { ["image"]=> string(106) "https://lh3.googleusercontent.com/lMoItBgdPPVDJsNOVtP26EKHePkwBg-PkuY9NOrc-fumRtTFP4XhpUNk_22syN4Datc=s180" 
["title"]=> string(8) "YouTube " ["rate"]=> string(3) "4.1" ["price"]=> NULL } */