tm1py
tm1py copied to clipboard
Support TM1 12 in IBM cloud
new arg for TM1Service, RestService: paw_api_key.
paw_api_key and base_url allow connection to TM1 12 in IBM cloud
with TM1Service(
base_url="https://eu-de.planning-analytics.cloud.ibm.com/api/Q9NT819TNO2C/v0/tm1/24Retail",
paw_api_key=PAW_API_KEY) as tm1:
cube_names = tm1.cubes.get_all_names()
print(cube_names[0])