It's all about the answers!

Ask a question

Starting to access RTC through REST API using Python.


0
1
Jayasankar BVR (815) | asked Oct 14 '14, 3:26 p.m.
 Hello there,
             I have an urgent requirement to use python rest aPI to access RTC work items. Can some one send me the right library to use or right pointer for my requirement ? That would be much helpful. 

Thanks a million in advance.



Comments
Leon Sun commented Jan 24 '18, 11:50 a.m. | edited Jan 28 '18, 2:32 p.m.

@Jayasankar

This is a very old link. Hope you have solved all the issues. If you did, could you share your solutions?

I just started to use Python rtcclient 0.6.0 which is NOT an official-released Python-based RTC client. It seems to initialize the RTC client object without issues, but it generates "not well-formed (invalid token)" error when I try to get the work item.

myclient = RTCClient(url, username, password, ends_with_jazz=False)    - seems to work ok
wk = myclient.getWorkitem(1643428)                                     - generates "not well-formed (invalid token)" error
Here is the Python rtcclient link: https://pypi.python.org/pypi/rtcclient 

One answer



permanent link
sam detweiler (12.5k6195201) | answered Oct 14 '14, 4:15 p.m.
far as I know, there is no formal library built

you can use python to invoke rest apis,
and RTC has rest apis..

Here is an article with workshops to get started with OSLC apis and RTC

https://jazz.net/library/article/635



Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.