View source: R/st_batch_app_lookup.R
| st_batch_app_lookup | R Documentation |
This function takes a vector of unified app IDs and returns a single data frame containing the corresponding unified_app_id, app_name, platform-specific IDs (ios_app_id, android_app_id), and icon_url. It handles chunking requests to the st_app_details endpoint (limit 100).
st_batch_app_lookup(
app_ids,
auth_token = Sys.getenv("SENSORTOWER_AUTH_TOKEN"),
verbose = FALSE
)
app_ids |
Character vector of unified app IDs. |
auth_token |
Character string. Your Sensor Tower API authentication token. |
verbose |
Logical. Whether to show progress messages. Default is FALSE. |
A tibble with columns:
unified_app_id: The Sensor Tower unified app ID
app_name: The app's display name
ios_app_id: iOS app ID if found
android_app_id: Android app ID if found
icon_url: URL of the app icon
Returns empty tibble if no apps can be found or details cannot be fetched.
## Not run:
# Look up multiple games
apps <- st_batch_app_lookup(c("5ba4585f539ce75b97db6bcb", "5d10d6bfecb4db5f93902f23"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.