Expand my Community achievements bar.

SOLVED

Connect from Python to AEP Query services

Avatar

Level 4

@everyone 

 

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

If yes, please share the sample code snippets.

 

Thanks

Sheejo

1 Accepted Solution

Avatar

Correct answer by
Moderator

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.

View solution in original post

5 Replies

Avatar

Community Advisor

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

What's your usecase?

Avatar

Level 1

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

Avatar

Correct answer by
Moderator

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.

Avatar

Level 4

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

Avatar

Level 2

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