Connect from Python to AEP Query services | Community
Skip to main content
sheejo
Level 3
August 17, 2023
Solved

Connect from Python to AEP Query services

  • August 17, 2023
  • 2 replies
  • 1848 views

@16227148 

 

Anyone tried to connecting from Python to AEP Query services to pull the data?

If yes, please share the sample code snippets.

 

Thanks

Sheejo

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arijitg

Hi @sheejo 

 

There are utilities like psycopg2 

 

psycopg2.connect(database='<database_name_here>', user='<user_name_here>', password='<password_here', host='<host_here>', port= '<port_here')

 

** since it's an open source and not managed by Adobe you shall consult with your Architect & Security professionals before using.

2 replies

arpan-garg
Community Advisor
Community Advisor
October 10, 2023

Hi @sheejo - Yes we did it, we were downloading the data present in the dataset to an external system.

What's your usecase?

September 13, 2024

Thanks for the information, I would like to see an example of how you obtain the information, I would also like to know what the api is that returns the file, and how it searches for the files.

thank you so much

arijitg
Adobe Employee
arijitgAdobe EmployeeAccepted solution
Adobe Employee
October 10, 2023

Hi @sheejo 

 

There are utilities like psycopg2 

 

psycopg2.connect(database='<database_name_here>', user='<user_name_here>', password='<password_here', host='<host_here>', port= '<port_here')

 

** since it's an open source and not managed by Adobe you shall consult with your Architect & Security professionals before using.

sheejo
sheejoAuthor
Level 3
October 10, 2023

@arijitg , I am able to connect to AEP Query services and able to pull the data. Thank you all!.

Level 2
June 18, 2024

@sheejo, Could you let me know how you did it.(the process)