You can get measures of a developer for a specific project with the following API call:
http://nemo.sonarsource.org/api/resources?resource=DEV:Fabrice%20Bellingard:org.codehaus.sonar:sonar&metrics=ncloc,coverage
The resource key is composite and consists of:
- "DEV:"
- the user name
- ":"
- the project key
Note that not all the metrics are computed on developers. For instance, you won't be able to have the complexity for the moment. You can see which metrics are computed when you go on a developer dashboard: for instance, the API call above gives metrics about me on Sonar.