<?php

include __DIR__ . '/../vendor/autoload.php';
use Raulr\GooglePlayScraper\Scraper;
$scraper = new Scraper();
$collections = $scraper->getCollections();
var_export($collections);
Exemple #2
0
<?php

include __DIR__ . '/../vendor/autoload.php';
use Raulr\GooglePlayScraper\Scraper;
$scraper = new Scraper();
$query = isset($argv[1]) ? $argv[1] : 'unicorns';
$apps = $scraper->getSearch($query);
var_export($apps);
<?php

include __DIR__ . '/../vendor/autoload.php';
use Raulr\GooglePlayScraper\Scraper;
$scraper = new Scraper();
$collection = isset($argv[1]) ? $argv[1] : 'topselling_free';
$category = isset($argv[2]) ? $argv[2] : 'SOCIAL';
$apps = $scraper->getList($collection, $category);
var_export($apps);
<?php

include __DIR__ . '/../vendor/autoload.php';
use Raulr\GooglePlayScraper\Scraper;
$scraper = new Scraper();
$id = isset($argv[1]) ? $argv[1] : 'com.google.android.youtube';
$app = $scraper->getApp($id);
var_export($app);
<?php

include __DIR__ . '/../vendor/autoload.php';
use Raulr\GooglePlayScraper\Scraper;
$scraper = new Scraper();
$categories = $scraper->getCategories();
var_export($categories);