Page 1 of 1

Benefits of REST API over native TM1py/TM1JavaApi

Posted: Fri Jun 29, 2018 8:25 am
by fabulousMuch
I am working with cognos TM1 10.2.2. and I am currently working with its API.
Now my question are there any benefits from working with TM1 REST API (using HTTP requests and working with JSON) over using native packages/API's like TM1py or TM1JavaApi?
Note that I am currently developing an application in Java using TM1JavaApi, but anytime I get stuck google gives me a lot of feedback of people using REST and oData querying, so I am afraid that I am missing on some functionalities or capabilities that are available if using REST API over the native ones (I am asking this because my application will get only more complex and if I cannot get the same amount of data from TM1JavaApi I will be forced to switch to REST).

Thank you for your time and have a great day :D

Re: Benefits of REST API over native TM1py/TM1JavaApi

Posted: Fri Jun 29, 2018 9:05 am
by David Usherwood
To quote from the TM1PY page:
By wrapping the IBM Planning Analytics (TM1) REST API in a concise Python framework, TM1py facilitates Python developments for TM1.
So, by using TM1PY, you are using the Rest API - just wrapped in a more manageable package.
I'm a fan of TM1PY and think Mariusz has done a sterling job and keeps updating it (last update 26 June 2018). The larger the developer community the better the package will become.

Re: Benefits of REST API over native TM1py/TM1JavaApi

Posted: Fri Jun 29, 2018 9:22 am
by fabulousMuch
I am not too familiar with the TM1py, but I assumed it works similar to TM1JavaApi.
I heard it has a great community, so I was actually thinking of switching to TM1py. Do you, by any chance, have any insight into TM1JavaApi and its functionalities in comparison to TM1py?

Re: Benefits of REST API over native TM1py/TM1JavaApi

Posted: Sun Jul 01, 2018 9:59 pm
by macsir
REST API is the way to go. Those old .net or java native api are obsolete.