search_apple {appler} | R Documentation |
Apple Store Search
Description
Using Apple's iTunes API, will find any content available from Apple based on a given search term.
Usage
search_apple(
term,
country = NULL,
media = NULL,
entity = NULL,
attribute = NULL,
limit = NULL,
lang = c("en_us", "ja_jp"),
explicit = c("Yes", "No")
)
Arguments
term |
The URL-encoded text string you want to search for. For example: |
country |
The two-letter country code for the store you want to search. For a list of country codes see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 |
media |
|
entity |
|
attribute |
|
limit |
|
lang |
|
explicit |
|
Value
A data.frame
of any results that match the iTunes database.
If there were no successful results then it will return NULL
.
See Also
https://performance-partners.apple.com/search-api
Examples
# Search for all Jack Johnson audio and video content
search_apple(term = "jack johnson")
# To search for all Jack Johnson audio and video content and return only the first 25 items
search_apple(term = "jack johnson", limit = 25)