appler
The goal of appler
is to be able to pull information from the Apple iTunes and App Stores.
devtools::install_github("ashbaldry/appler")
library(appler)
search_apple
A simple search tool that returns Apple items that are related to the search term.
search_results <- search_apple("GitHub", "gb") dim(search_results) names(search_results)
lookup_apple
Using the ID of an Apple item (found in the URL) returns basic information about the selected item.
lookup_results <- lookup_apple(1477376905, "gb") dim(lookup_results) names(lookup_results)
get_apple_rating_split
The API only extracts the average review, so this scrapes the app page for the split of 1 :star: to 5 :star: ratings.
ratings <- get_apple_rating_split(1477376905, "gb") ratings
get_apple_reviews
Pulls the most recent reviews for a selected app.
reviews <- get_apple_reviews(1477376905, "gb") head(reviews)
get_apple_chart_postion
Checks whether the app is within any category chart and returns the position and category
chart_pos <- get_apple_chart_postion(1477376905, "gb") chart_pos
NB All ratings and reviews are country specific.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.