I’m trying to utilize the request package from python to query test results/ test step values from the Swagger page.
I am not able to get a good request out. Does anyone have any suggestions or examples of someone utilizing the Python request package to get results?
Here's a screenshot from JupyterLab:
Thanks in advanced!
Here are a few links to some Python examples that may help.
I think I have looked at the links you've proved below before.
Are these examples applicable to Jupyter Environment outside of the SystemLink server? I'm trying to utilize Domino Data Lab Virtual Machines and locally hosed Jupiter instance to query data by utilizing the HTTP APIs.
I think most of these examples leverage our SystemLink Python SDK that normally installs with the SystemLink Server Jupyter Notebook support. On your SL server there is an NI package that gets install and should be cached under "C:\ProgramData\National Instruments\NI Package Manager\packages\ni-systemlink-python-3.8-systemlink-sdk_184.108.40.206361-0+f209_windows_x64.nipkg"
If you open this package using 7-zip you can probably extract the .whl files and manually install them into your other environment.
We have started moving some of these items to a pip package, but currently only the tag API is available.
Thanks, I'll look into that. How would I get the connection and authenticate to the SystemLink server after installing the library locally/ in the Domino VM? I am looking at this example here and trying to query test step results: