tm1py icon indicating copy to clipboard operation
tm1py copied to clipboard

Support TM1 12 in IBM cloud

Open MariusWirtz opened this issue 3 years ago • 0 comments

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])

MariusWirtz avatar Mar 10 '22 08:03 MariusWirtz