How to get the value of events from API 2.0? | Community
Skip to main content
New Participant
Jan 28, 2022 3:22 PM UTC
Solved

How to get the value of events from API 2.0?

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Pankaj_SabharwalAccepted solution
Level 5
Feb 1, 2022 6:14 AM UTC

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-build-api-2-requests.html


 Do let me know if you need any further help.

 

Thanks

2 replies

Pankaj_SabharwalAccepted solution
Level 5
Feb 1, 2022 6:14 AM UTC

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-build-api-2-requests.html


 Do let me know if you need any further help.

 

Thanks

Translate
Employee
Jan 31, 2022 8:18 AM UTC

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

Please check the link above!

Translate