top_countries
Rank countries by a chosen metric like downloads or crashes over a set period, optionally filtered by app or product. Returns the top countries for that metric.
Instructions
Ranked countries for a metric over a date range.
Args: metric: Which metric to rank by. limit: How many countries to return. days: Look-back window. app_id: Restrict to one store listing. product_id: Restrict to one product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| app_id | No | ||
| metric | No | downloads | |
| product_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |