Closed mikomraz closed 4 years ago
python-sonarqube-api >=1.1.3 support SonarCloud APIs. please use The latest installation package。
from sonarqube import SonarCloudClient h = SonarCloudClient(sonarcloud_url="https://sonarcloud.io", token='*****')
Hello @shijl-0925 👋
Thank you for the great work! It is a handy python library to deal with Sonar's api.
I would like to raise an issue I noticed: for some api, there the field
organisation
is required, and there is no way to pass it. For example: https://sonarcloud.io/web_api/api/rules/tags?query=rulesGET api/rules/tags
and some, even though documentation says "optional" it is still needed, like in
GET api/rules/search
:Besides adding the missing parameters, maybe it's possible to allow extra ones? or add
organization
as part of session?Thank you very much!