Expand my Community achievements bar.

SOLVED

How to get the value of events from API 2.0?

Avatar

Level 1

Hi Everyone, I am trying to extract data from the API to store it in a DB

But I am having trouble to find out how to get the value of the events filter by date, I am using Swagger and for example I can get a list of all Events using the next endpoint: https://analytics.adobe.io/api/[client id]/metrics?rsid=[report suite id]

but this only shows the name of the event and the description, but not the actual value

 

Then I tryed using the endpoint of a specific event with https://analytics.adobe.io/api/[client id]/metrics/event01?rsid=[report suite id]

but it also only showed this: 

{
"id": "metrics/event01",
"title": "String",
"name": "String",
"type": "int",
"extraTitleInfo": "event01",
"category": "Conversion",
"support": ["String"],
"allocation": true,
"precision": 0,
"calculated": false,
"segmentable": true,
"supportsDataGovernance": true,
"description": "String",
"polarity": "positive"
}

 

How can I get the actual value for the events and filter for date?

 

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @JosueO 

 

You can pull data from Adobe Analytics API using python. Make sure you are an existing user in Adobe Analytics and have access to Adobe Developer Console. Here’s the complete step-by-step guide that’ll help you in pulling data using python

 

Blog link : https://jasonchiu.com/posts/how-to-pull-data-from-the-adobe-analytics-api-(2.0)-using-python/

 

Another way would be creating a free form table in the analytics workspace and then debugging the UI to copy/paste JSON requests directly into any API client to return data. Here’s a demonstration of the same.

https://experienceleague.adobe.com/docs/analytics-learn/tutorials/apis/using-analysis-workspace-to-b...


 Do let me know if you need any further help.

 

Thanks

View solution in original post

2 Replies

Avatar

Employee

I found the helpful document which the explain of your question from on stackoverflow.

Please check the link above!

Avatar

Correct answer by
Level 4

Hi @JosueO 

 

You can pull data from Adobe Analytics API using python. Make sure you are an existing user in Adobe Analytics and have access to Adobe Developer Console. Here’s the complete step-by-step guide that’ll help you in pulling data using python

 

Blog link : https://jasonchiu.com/posts/how-to-pull-data-from-the-adobe-analytics-api-(2.0)-using-python/

 

Another way would be creating a free form table in the analytics workspace and then debugging the UI to copy/paste JSON requests directly into any API client to return data. Here’s a demonstration of the same.

https://experienceleague.adobe.com/docs/analytics-learn/tutorials/apis/using-analysis-workspace-to-b...


 Do let me know if you need any further help.

 

Thanks