title: How can I pull out useful metrics from SonarQube
body: <p>I am trying to pull out useful metrics from SonarQube (like lines of code, technical debt, sqale rating, etc).  </p>
  
  <p>The issue is I am stuck on the best way to do this.  I am looking at their Web Service API documentation, <a href="http://docs.sonarqube.org/pages/viewpage.action?pageId=2392172" rel="nofollow">http://docs.sonarqube.org/pages/viewpage.action?pageId=2392172</a>.  Is this same thing as a RESTful service?  </p>
  
  <p>So as a simple example...Nemo is a public demo of SonarQube.
  And the following demonstrates how to get lines of code.</p>
  
  <p>Get the metric 'Lines of Code' (key = ncloc)<br>
  GET <a href="http://nemo.sonarsource.org/api/metrics/ncloc" rel="nofollow">http://nemo.sonarsource.org/api/metrics/ncloc</a></p>
  
  <p>So my question is, can I write a Python program or something to grab the metrics I want from SonarQube? Is this a RESTful API? What is the best way to get this data?</p>
  
  <p>Thanks!</p>