pip install pyobiee
Dependencies: requests, zeep - SOAP client, pandas (only to facilitate integration with Power BI)
pyobiee is a wrapper for OBIEE (Oracle Business Intelligence Enterprise Edition) SOAP. Tested on OBIEE 12C and python 3.8.5
import pyobiee
dataframe = pyobiee.get_data(query_type, path_or_sql, wsdl, username, password, ignore_ssl=False)
Arguments:
- query_type: string, possible values are 'sql' or 'report'
- path_or_sql: string, depending on query_type either:
- a report path inside OBIEE catalog, example '\somefolder\somesubfolder\ReportName'
- a sql query, example 'SELECT * FROM dbo.SubjectArea.DataColumn'
- wsdl:string, wsdl url of the web service, example: 'http://host:port/analytics-ws/saw.dll/wsdl/v7'
- username: string, example 'IvanIvanovich'
- password: string, example '28QSAfsqs'
- ignore_ssl: bool, False by default
https://github.com/kazei92/pyobiee/wiki/
Links: OBIEE Docs - https://docs.oracle.com/middleware/1221/biee/BIEIT/soa_overview.htm#BIEIT3171