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

Connect from Python to AEP Query services

  • August 17, 2023
  • 2 replies
  • 1836 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

arijitg
arijitgAccepted solution
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
New Participant
October 10, 2023

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

New Participant
June 18, 2024

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

arpan-garg
New Participant
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?

New Participant
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