Giter Site home page Giter Site logo

izzysoft / googleplaywebserviceapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basemax/googleplaywebserviceapi

3.0 1.0 0.0 140 KB

Tiny script to crawl information of a specific application in the Google play/store base on PHP.

License: MIT License

PHP 100.00%

googleplaywebserviceapi's Introduction

Google Play Web-Service API

Tiny script to crawl information of a specific application in the Google play/store base on PHP.

PHP GooglePlay Methods

  • parse: mostly used internally โ€“ but can be used to parse any URL or text for valid Play Store app links and return their packageNames
  • parseSearch: search for apps by given terms
  • parseSimilar: search for what Google Play considers apps similar to the one specified
  • parseOthers: other apps by the same developer
  • parseTopApps: list top-chart apps
  • parseNewApps: list latest additions
  • parseCategory: list apps from a specified category
  • parseCategories: list available categories
  • parseApplication: get details for a specific app
  • parsePerms: retrieve permissions requested by a specific app
  • parsePrivacy: obtain an app's privacy details (data collected/shared etc)
  • setDebug: turn debug mode on or off
  • getDebug: check whether debug mode is turned on or off
  • dump_raw: dump the raw data (HTML of the page plus JSON of the data sources) for debug/evaluation

Using PHP GooglePlay

<?php
require "google-play.php";
$google = new GooglePlay();

$app=$google->parseApplication("com.bezapps.flowdiademo");
print_r($app);

$app=$google->parseSimilar("com.bezapps.flowdiademo");
print_r($app);

$apps=$google->parseSearch("telegram");
print_r($apps);

$apps=$google->parseCategory("TOOLS");
print_r($apps);
?>

Detailed instructions

Examples of how to use the code and what results to expect can be found in the wiki:

  • the Search page shows how to
    • list available categories as well as obtain a list of apps from a given category
    • search for "similar apps"
    • search for apps by keywords
    • action as a crawler and find more applications?
  • the AppDetails page shows how to
    • obtain details about a given app
    • interprete the result set (aka the "application structure")
    • obtain content in specific languages
  • the Permissions page details
    • how to get the permissions an app requests
    • what the result set looks like and how to interprete it

TODO

  • Unit test

Authors

  • Izzy
  • Max Base

Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

googleplaywebserviceapi's People

Contributors

basemax avatar izzysoft avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.