Forum Discussion

zeigerr's avatar
zeigerr
Occasional Contributor
4 years ago

Python Example to retrieve information via REST API

Hi,   I am looking for a python code example to access the Zephyr REST API. Expecially how authenification is done. Currently I get 401 response. The version I am using is: Zephyr for Jira - Tes...
  • zeigerr's avatar
    zeigerr
    4 years ago

    Hi Matt, thanks a lot for the direction/information.
    I currently have found a python project (mentioned by atlassian) which works for me to extract data. Also the module seems to have a lot of feature and I do not understand it completely. Also  as an authenitfication method I have to provide my domain password, I have not managed to run it with a autentification token.

    But meanwhile I have wriiten a 20-line perl script which uses plain curl invokations to retrieve and upload data using the ZAPI REST API.
    Since this worked better understandable for me I am going to use plain GET/POST resquests using curl.exe on windows.
    I will mark this question as answered. Thanks for your help.