Introduction to {appler}

Introduction

The {appler} package is a wrapper around Apple’s App Store Search API. This allows the user to pull information about artists, applications, and anything else available on iTunes or the Apple App Store.

Other functions are included to allow the pulling of information not included in the search API such as application reviews and split of ratings.

Reviews

Once you have the ID, you can get to the interesting part: the reviews. Apple has an RSS feed that enables you to pull the latest 500 reviews for an application, along with information such as the version that was being reviewed, and what rating was given by the user.

There is a limitation that you can only pull the reviews for a single country, and by default the reviews from the US will be returned, however any ISO-2 country code can be used. If the app isn’t available in that country, then there will be a 400 error.

github_reviews <- get_apple_reviews(github_app_id)
head(github_reviews)
#>            id         review_time             author app_version
#> 1 11704292215 2024-09-09 01:58:02  Crystalline Water     1.176.0
#> 2 11699415021 2024-09-07 17:33:21         thep0tAToÆ     1.176.0
#> 3 11679959011 2024-09-02 08:07:56    BellaCityDwella     1.175.0
#> 4 11668204137 2024-08-30 03:26:28          Ahmed16-8     1.175.0
#> 5 11667280363 2024-08-29 20:50:02 Nick “Nick” Holden     1.175.0
#> 6 11659802206 2024-08-27 20:11:21          DWash5200     1.175.0
#>                                 title rating
#> 1                         I’m upon go      5
#> 2     less functionality than browser      1
#> 3               Excellent Application      5
#> 4                             Amazing      5
#> 5 Just merged a PR from little screen      5
#> 6            D Diamond Solutions, LLC      5
#>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        review
#> 1                                                                                                                                                                                                                                                                                                                                                                                                                                                    Wonderful work by the team today at our press event. Looking down to our new storefront in the app booth
#> 2 I cant rename files on my iphone se or even delete files then i try and go in the browser and everything is tiny and difficult to do the most simple things like they are trying to hide the basic features and the complex stuff is right at the top it makes no sense design needs work it needs functuonality to come first and simplicity then the more complex stuff is deeper into the process not the other way around i need to have the option to rename and delete a file if the whole point is a repo app let me do the basic stuff atleast jeez
#> 3                                                                                                                                                                                                                                                                                                                                                                                                                                                                         From the desktop, to the phone and iPad, this app provides an excellent experience.
#> 4                                                                                                                                                                                                                                                                                                                                                                                                                                                           This app is absolutely insane. The amount of functionality I can get from my phone is phenomenal!
#> 5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Before I could only break prod from big screen
#> 6                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Awesome app.

Ratings

One extra piece of functionality available in {appler} is the ability to scrape the rating split from the App Store. Whilst the average rating for the app is available in search_apple, it is useful to know how many 5* ratings are given and how many 1* ratings are given.

github_ratings <- get_apple_rating_split(github_app_id)
#> No encoding supplied: defaulting to UTF-8.
github_ratings
#>   rating percent
#> 1      5    0.89
#> 2      4    0.07
#> 3      3    0.02
#> 4      2    0.01
#> 5      1    0.02