lookup_apple {appler} | R Documentation |
Apple Store Lookup
Description
You can create a lookup request to search for content in the stores based on iTunes IDs, UPCs/EANs, and All Music Guide (AMG) IDs. ID-based lookups are faster and contain fewer false-positive results.
Usage
lookup_apple(
id,
country = NULL,
entity = NULL,
limit = NULL,
sort = NULL,
id_type = "id"
)
Arguments
id |
The ID of the iTunes entity |
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 |
entity |
|
limit |
|
sort |
|
id_type |
The ID type to lookup, options are:
|
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")
# Look up Jack Johnson by iTunes artist ID
lookup_apple(909253)
# Look up Jack Johnson by AMG artist ID
lookup_apple(468749, id_type = "amgArtistId")