Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.
SOLVED

How to retrieve report for particular hour using Reporting API 2.0 in python

Avatar

Level 1

Hi Team,

I am using the below command in Jupyter notebook to retrieve an particular hour report. But, it always provides me with full day report as output. Any idea what I am missing?

 

report = suite.report\
.element("evarXX")\
.metric("visitors")\
.range('2020-08-26T17:00:00','2020-08-26T17:59:59')\
.granularity('hour')\
.run()

 

I am expecting an output, only for the 17th hour. But it returns me the whole day data. Any guidance appreciated.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I am not sure about Python. However, you may pull an hour worth of data in Postman using the json body in the Workspace Debugger. 

See https://www.adobe.io/apis/experiencecloud/analytics/docs.html#!AdobeDocs/analytics-2.0-apis/master/r....

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

I am not sure about Python. However, you may pull an hour worth of data in Postman using the json body in the Workspace Debugger. 

See https://www.adobe.io/apis/experiencecloud/analytics/docs.html#!AdobeDocs/analytics-2.0-apis/master/r....