Forums : Ohloh API Discussion

How do I get a person's no of commits?

Hi Giulio,

Yes, this data is not yet available through the API.

Internally, we have a data structure called a "Position" which joins an account to a project contribution. Positions are created when someone clicks the "I am this person" button on a contributor page.

Positions are not yet exposed through the API. This means you can't get the list of projects contributed to by an account, and so by extension you also can't get the commits associated with an account.

There's no technical reason that this data is not available -- we just had to limit the scope of the API to fit in available development time. It could be added relatively simply, and when we have time to work on the API again it will certainly be added.

063ffe4b4061aa874f09216cfd60d8f2?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Robin Luckey over 8 years ago
 

Dear Robin,

Any update on developing this front of the API?

Cheers!

7e749ebfbf87779cc07317e80cf74f15?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
rpremraj over 7 years ago
 

Anything new on that?

Febdd3ca995730ab9659472e13d36f8b?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Johann Schmitz almost 7 years ago
 

No, there have been no changes to the API in quite a while.

063ffe4b4061aa874f09216cfd60d8f2?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Robin Luckey almost 7 years ago
 

I'm interested by this feature too, any news on this ?

52e00b0d97af9100a5a1c3384549a8f4?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Cédric Vidal over 6 years ago
 

Any news now that Ohloh has new owners? This is basically a blocker for my intended application.

A119dcae9b1d6469150e8f3c3691e07a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Jon Nordby over 5 years ago
 

It's interesting~

2bcbe664b4db192e9d3ae259ecd193d5?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
wowgold over 5 years ago
 

Any news? :)

A119dcae9b1d6469150e8f3c3691e07a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Jon Nordby about 5 years ago
 

Ideally I'd like to be able to get a graph for a person/contributor similar to that off a project. To be able to see how the commits per month developers, number of lines of code contributed in different languages, et.c

A119dcae9b1d6469150e8f3c3691e07a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Jon Nordby almost 5 years ago
 

Post a Response