View source: R/st_api_diagnostics.R
| st_api_diagnostics | R Documentation |
This function helps diagnose common API issues by testing various ID formats and endpoints to determine the best approach for fetching data.
st_api_diagnostics(
app_id,
verbose = TRUE,
auth_token = Sys.getenv("SENSORTOWER_AUTH_TOKEN")
)
app_id |
Character string. The app ID to diagnose (can be unified, iOS, or Android) |
verbose |
Logical. Show detailed diagnostic output. Default is TRUE. |
auth_token |
Character string. Your Sensor Tower API authentication token. |
A list with diagnostic results including: - 'id_type': Detected ID type - 'platform_ids': Resolved platform-specific IDs - 'endpoint_results': Results from testing various endpoints - 'recommendations': Suggested approach for this app
## Not run:
# Diagnose Star Trek Fleet Command
diagnosis <- st_api_diagnostics("5ba4585f539ce75b97db6bcb")
# Check iOS app
diagnosis <- st_api_diagnostics("1427744264")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.