get_scans_by_country
Fetch scan counts grouped by country for account, project, or QR code.
Uses POST scans endpoints with group_by=country. Default date range: last 30 days. For scope=qrcode only idqrcode is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. | |
| scope | No | Scope: account (default), project, or qrcode | account |
| end_date | No | End date YYYY-MM-DD. REQUIRED when the user asks for a specific period; do not omit if they mention dates. Defaults to today only when no range given. | |
| idqrcode | No | QR code ID. Required when scope=qrcode. | |
| per_page | No | Items per page. | |
| idproject | No | Project ID. Required when scope=project or qrcode. | |
| start_date | No | Start date YYYY-MM-DD. REQUIRED when the user asks for a specific period; do not omit if they mention dates. Defaults to 30 days ago only when no range given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| buckets | No | ||
| per_page | No | ||
| last_page | No | ||
| current_page | No |