Statistics
Retrieve Statistics
Info You can specify either the days parameter or the start_date and end_date parameters. If provided with no parameters, the current day’s statistics are returned.
Parameters
| Parameter | Required | Requirements | Description |
|---|---|---|---|
| days | No | Must be an integer greater than 0 | Number of days in the past to include statistics (Includes today) |
| start_date | No | Date must be in YYYY-MM-DD format and be before the end_date parameter | The start date to look up statistics |
| end_date | No | Date must be in YYYY-MM-DD format and be after the start_date parameter | The end date to look up statistics |
| aggregate | No | 0 or 1 | This is used to indicate you are interested in all-time totals |
Call
1
| |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |
Call
1
| |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | |
Category List
Retrieve a list of all the categories used in your account.
Call
1
| |
Response
1 2 3 4 5 6 7 8 9 10 11 | |
Call
1
| |
Response
1 2 3 4 5 6 7 | |
Category Statistics
Retrieve statistics broken down by category. If the category does not exist, there will be an empty result set.
Info Note that you can use either the days parameter or the start_date and end_date parameter.
Parameters
| Parameter | Required | Requirements | Description |
|---|---|---|---|
| category | Yes | Must be an existing category that has statistics. | The category you will specify to retrieve detailed stats |
| days | No | Must be an integer greater than 0 | Number of days in the past to include statistics (Includes today) |
| start_date | No | Date must be in YYYY-MM-DD format and be before the end_date parameter | The start date to look up statistics |
| end_date | No | Date must be in YYYY-MM-DD format and be after the start_date parameter | The end date to look up statistics |
| aggregate | No | 0 or 1 | This is used to indicate you are interested in all-time totals |
Call
1
| |
Call - Using an array of categories
1
| |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
Call
1
| |
Call - Using an array of categories
1
| |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | |