Giter Club home page Giter Club logo

p5-www-appstore-scraper-lite's Introduction

NAME

WWW::AppStore::Scraper::Lite - Get software review/rate on AppStore.

SYNOPSIS

use WWW::AppStore::Scraper::Lite;
use Data::Dumper;

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

my $info = $obj->app_info(
			    app => ['404732112'],
		    store => ['jp','us'],
		    review_number => 1,
                         );

print Dumper $info;

# result
# $VAR1 = {
#           '404732112' => {
#                            'jp' => {
#                                      'review_number' => 1,
#                                      'store' => 'jp',
#                                      'reviews' => [
#                                                     {
#                                                       'date' => '2012-11-05',
#                                                       'title' => "......",
#                                                       'message' => "......"
#                                                     }
#                                                   ],
#                                      'store_code' => 143462,
#                                      'genre_id' => 6002,
#                                      'app_name' => "Sleipnir Mobile - Web \x{30d6}\x{30e9}\x{30a6}\x{30b6}",
#                                      'store_name' => 'Japan',
#                                      'artist_id' => 318578225,
#                                      'ratings' => {
#                                                     'userRatingCount' => 1727,
#                                                     'averageUserRatingForCurrentVersion' => '4.5',
#                                                     'averageUserRating' => '3.5',
#                                                     'userRatingCountForCurrentVersion' => 4
#                                                   },
#                                      'price' => '0',
#                                      'genre_name' => 'Utilities'
#                                    },
#                            'us' => {
#                                      'review_number' => 1,
#                                      'store' => 'us',
#                                      'reviews' => [
#                                                     {
#                                                       'date' => '2012-09-08',
#                                                       'title' => '......',
#                                                       'message' => '.......'
#                                                     }
#                                                   ],
#                                      'store_code' => 143441,
#                                      'genre_id' => 6002,
#                                      'app_name' => 'Sleipnir Mobile - Web Browser',
#                                      'store_name' => 'United States',
#                                      'artist_id' => 318578225,
#                                      'ratings' => {
#                                                     'userRatingCount' => 220,
#                                                     'averageUserRatingForCurrentVersion' => undef,
#                                                     'averageUserRating' => '4.5',
#                                                     'userRatingCountForCurrentVersion' => undef
#                                                   },
#                                      'price' => '0',
#                                      'genre_name' => 'Utilities'
#                                    }
#                          }
#         };

DESCRIPTION

App information is provided Apple Search API (JSON). App reviews is provided RSS. WWW::AppStore::Scraper::Lite get both.

Methods

new

blah blah

- wait

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

app_info

Get application information.

- app

    set application identifier code.

    ex.
      app => '404732112',
      app => \['404732112', '531254369'\],
     ......

- store

    set store\_code. By default, get info from all country's stores.

    NOTE: I suggest you should set one or two store\_code.

    ex.
      store => 'jp',
      store => \['jp','us'\],
      ......

app_base_info

Get application information without review.

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

Search API: http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html

p5-www-appstore-scraper-lite's People

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.