Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

API request : bulkRequest AND imageGraph don't work well together

$
0
0

@simon wrote:

Hello,

I've encountered a limit with VisitTime.getByDayOfWeek.
This method doesn't allow multiple period as parameters (using something like &date=last10&period=day).
I've overcame this with the bulk API request and managed to get the right data.

Then I tried to get graphs of these data by combining the API bulk Request and the API ImageGraph.
Unfortunately, this request only send the first request graph.

Is there a way to make it work somehow?

See the code below, maybe I just did mistakes :

http://myDomain/index.php?
module=API
&method=API.getBulkRequest
&format=xml
&urls[0]=
method%3dImageGraph.get
%26idSite%3d1
%26apiModule%3dVisitTime
%26apiAction%3dgetByDayOfWeek
%26period%3drange
%26date%3d2014-01-01,2014-01-07
&urls[1]=
method%3dImageGraph.get
%26idSite%3d1
%26apiModule%3dVisitTime
%26apiAction%3dgetByDayOfWeek
%26period%3drange
%26date%3d2014-01-08,2014-01-14

Thanks in advance
Simon

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles