Giter Club home page Giter Club logo

p5-www-googleplay-scraper's Introduction

NAME

WWW::GooglePlay::Scraper - Get software rank/review/rate on Google Play.

SYNOPSIS

use WWW::GooglePlay::Scraper;
use Data::Dumper;

my $obj = WWW::GooglePlay::Scraper->new(wait => 5);

my $info = $obj->app_info(
                          app => ['jp.co.fenrir.android.sleipnir'],
                          store => ['ja','en'],
                         );

print Dumper $info;

# result
# $VAR1 = {
#           'jp.co.fenrir.android.sleipnir' => {
#                                                'en' => {
#                                                          'store_name_jp' => "\x{82f1}\x{8a9e}",
#                                                          'total_rank' => undef,
#                                                          'new_rank' => undef,
#                                                          'reviews' => [
#                                                                         {
#                                                                           'date' => ' on March 27, 2012',
#                                                                           'title' => '...',
#                                                                           'message' => ' ..... '
#                                                                         },
#                                                                         {
#                                                                           'date' => ' on February 21, 2012',
#                                                                           'title' => '***',
#                                                                           'message' => ' .....'
#                                                                         }
#                                                                       ],
#                                                          'genre_id' => 'COMMUNICATION',
#                                                          'app_name' => 'Sleipnir Mobile - Web Browser',
#                                                          'genre_rank' => 25,
#                                                          'store_name' => 'English',
#                                                          'store_info' => {
#                                                                            'name_jp' => "\x{82f1}\x{8a9e}",
#                                                                            'name' => 'English'
#                                                                          },
#                                                          'artist_id' => 'Fenrir Inc.',
#                                                          'ratings' => {
#                                                                         'detail' => [
#                                                                                     '742',
#                                                                                     '566',
#                                                                                     '282',
#                                                                                     '107',
#                                                                                     '101'
#                                                                                   ],
#                                                                         'summary' => {
#                                                                                      'average' => '4.0',
#                                                                                      'votes' => '1798'
#                                                                                    }
#                                                                       },
#                                                          'price' => '0',
#                                                          'genre_name' => 'Communication'
#                                                        },
#                                                'ja' => {
#                                                          'store_name_jp' => "\x{65e5}\x{672c}\x{8a9e}",
#                                                          'total_rank' => undef,
#                                                          'reviews' => [
#                                                                         {
#                                                                           'date' => '2012/03/27',
#                                                                           'title' => '...',
#                                                                           'message' => " ..... "
#                                                                         },
#                                                                         {
#                                                                           'date' => '2012/03/27',
#                                                                           'title' => "...",
#                                                                           'message' => " ..... "
#                                                                         }
#                                                                       ],
#                                                          'genre_id' => 'COMMUNICATION',
#                                                          'app_name' => "Sleipnir Mobile - \x{30a6}\x{30a7}\x{30d6}\x{30d6}\x{30e9}\x{30a6}\x{30b6}",
#                                                          'genre_rank' => 25,
#                                                          'store_name' => "\x{65e5}\x{672c}",
#                                                          'store_info' => {
#                                                                            'name_jp' => "\x{65e5}\x{672c}\x{8a9e}",
#                                                                            'name' => "\x{65e5}\x{672c}"
#                                                                          },
#                                                          'artist_id' => 'Fenrir Inc.',
#                                                          'ratings' => {
#                                                                         'detail' => [
#                                                                                     '742',
#                                                                                     '566',
#                                                                                     '282',
#                                                                                     '107',
#                                                                                     '101'
#                                                                                   ],
#                                                                         'summary' => {
#                                                                                      'average' => '4.0',
#                                                                                      'votes' => '1798'
#                                                                                    }
#                                                                       },
#                                                          'price' => '0',
#                                                          'genre_name' => "\x{901a}\x{4fe1}"
#                                                        }
#                                              }
#         };

DESCRIPTION

Methods

new

blah blah

- wait

    set interval (second). per app, per store.

app_info

Get application information.

- app

    set application identifier code.

    ex.
      app => 'jp.co.fenrir.android.sleipnir',
      app => \['jp.co.fenrir.android.sleipnir', 'jp.co.fenrir.android.sleipnir\_black'\],
     ......

- store

    set lang\_code. By default, get info from all languages.

    ex.
      store => 'ja',
      store => \['ja','en'\],
      ......

app_base_info

Get application information without ranking.

genre_rank

Get ranking (genre).

NOTE: args is same as app_info/app_base_info, but only one app/one store ('app' and 'store' is not array_ref).

NOTE: all store returns same value.

ex. $obj->genre_rank( app => 'jp.co.fenrir.android.sleipnir', store => 'ja' ); # $VAR1 = 25;

total_rank

Get ranking (total)

ex. $obj->total_rank( app => 'com.skype.raider', store => 'en' ); # $VAR1 = 2;

AUTHORS

KAWABATA, Kazumichi (Higemaru) [email protected]

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Google Play: https://play.google.com/store

p5-www-googleplay-scraper's People

Stargazers

KAWABATA, Kazumichi avatar Pasta001 avatar  avatar Zak B. Elep avatar  avatar epy0n0ff avatar iRSS avatar

Watchers

James Cloos avatar KAWABATA, Kazumichi 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.