Authorizations
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey
). An api_key is linked to a user. This user's role will give you different access level to the API features.
Query Parameters
List of analytics to return. At least one in that list.
business_impressions_desktop_maps
, business_impressions_desktop_search
, business_impressions_mobile_maps
, business_impressions_mobile_search
, business_direction_requests
, call_clicks
, website_clicks
How the returned data will be aggregated. At most 'business' and one time dimensions of the list. If no dimension is given, the request will return the sum of each metric for all requested days and businesses.
business
, day
, week
, month
, year
Where the object is either a dimension or a metric and is used in the request. At most one in the list. - before a field to order_by DESC, nothing for ASC
<object>
, -<object>
"order_by=-call_clicks"
Filter by business ids
Business id
Filter by all allowed businesses except
the ones given in business__notin
Business id
Filter by city
Parameter to fuzzy search businesses on city, zipcode and name
Filter by date
Return all the analytics whose date
>= given_date
.
Filter by date
.
Return all the analytics whose filter_date
<= given_date
.
The page number you want to request.
The value defaults to 1, when it is not included.
x >= 1
The maximum number of result items to return in a page.
The value defaults to 500, when it is not included.
x <= 500