This month we are introducing a new Analytics API - an aggregation API that crosses ALL our resources in the following form:
The Analytics API enables you to retrieve aggregated results from thousands of records, within a few seconds, grouped by any API field name and filtered by any SQL-Style applicable.
So, lets take a look at one good example - let's say I want to build a nice Pie Chart of Sales per Brand. To get this data all I need to do is perform the following request :
GET /v1.0/totals/transaction_lines?select=sum(Transaction.GrandTotal) as SumGrandTotal&group_by=Item.MainCategoryID as Brand
The result would be :
Homework - what API request would it take to build the attached Pie Chart of Sales Per Country?
That's it for this release - I am sure you'll enjoy our Analytics API - it saves a lot of coding work and even more iportantly - retrieves results MUCH FASTER.
VP of Data Integration & Co-Founder