@AmitShrotri
Thank you for reaching out to us.
Typically, this Q&A forum doesn't provide the coding service. To get the coding service, you may need to contact the professional service group.
However, we can verify if this is an issue in the library. Please add the ek.set_log_level(1) before calling the ek.set_app_key method, as shown below.
#set app keyek.set_log_level(1) ek.set_app_key('228628fa34814bc985eecd6ee15452dd38b61d22') ek.set_timeout(15) yesterday = datetime.now() - timedelta(days = 1) L52W = datetime.now() - timedelta(weeks = 52)
Then, the log file (pyeikon.xxx.log) will be created in the current directory.
Please share this log file when the problem occurred so we can verify the behavior of the application.