The SonarQube API, from Go and from your terminal
A type-safe Go SDK and the sonar-cli command-line tool, covering every SonarQube web API service.
Get startedGo SDK
Strongly typed options and responses for the V1 and V2 APIs, validated before any request is sent.
sonar-cli
Every service and method as a subcommand, with JSON, YAML or table output and automatic pagination.
Production ready
Opt-in retries with backoff, HTTP middleware for logging and tracing, and tests against real SonarQube instances.