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

Avatar

Avatar
Level 1
shashwaths37542
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
shashwaths37542
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
shashwaths37542
Level 1

26-08-2020

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 25
Employee
Khurshid_Alam
Employee

Likes

59 likes

Total Posts

199 posts

Correct reply

43 solutions
Top badges earned
Affirm 25
Boost 50
Affirm 10
Boost 25
Affirm 5
View profile

Avatar
Affirm 25
Employee
Khurshid_Alam
Employee

Likes

59 likes

Total Posts

199 posts

Correct reply

43 solutions
Top badges earned
Affirm 25
Boost 50
Affirm 10
Boost 25
Affirm 5
View profile
Khurshid_Alam
Employee

04-09-2020

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....