Hi Friends,
Please tell me, using this Python Code, if I want to import Data from Oracle Data Base.
What are the steps I need to follow?
Is this the only step for Basic Authentication?
# Insert the Anaplan account email being used
username = ''
-----------------
# If using cert auth, replace cert.pem with your pem converted certificate
# filename. Otherwise, remove this line.
cert = open('cert.pem').read()
# If using basic auth, insert your password. Otherwise, remove this line.
password = ''
# Uncomment your authentication method (cert or basic). Remove the other.
user = 'AnaplanCertificate ' + str(base64.b64encode((
f'{username}:{cert}').encode('utf-8')).decode('utf-8'))
# user = 'Basic ' + str(base64.b64encode((f'{username}:{password}'
# ).encode('utf-8')).decode('utf-8')
https://community.anaplan.com/t5/Best-Practices/Using-Python-3-with-the-Anaplan-API/ta-p/33150