Skip to main content
sheejo
Level 3
Aug 17, 2023 6:18 PM UTC
Solved

Connect from Python to AEP Query services

@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.
arijitg
arijitgAccepted solution
Adobe Employee
Oct 10, 2023 1:26 PM UTC

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.

5 replies

arpan-garg
Community Advisor
Community Advisor
Oct 10, 2023 5:32 AM UTC

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

What's your usecase?

Translate
Sep 13, 2024 7:45 PM UTC

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

Translate
arijitg
Adobe Employee
arijitgAdobe EmployeeAccepted solution
Adobe Employee
Oct 10, 2023 1:26 PM UTC

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.

Translate
sheejo
sheejoAuthor
Level 3
Oct 10, 2023 1:31 PM UTC

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

Translate
Level 2
Jun 18, 2024 1:11 PM UTC

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

Translate