Forums : Ohloh API Discussion

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

I'm messing around with the Ohloh API and PHP and I just found something's missing (or maybe I'm so dumb I've not found the way to do it ;).

I'm able to get the number of commits by a user to a specific project but not his 'full' set of changes, the number of commits a person has done. Is there any way to get it without recurring to the already-served widget?

C9c7c71532207ed3fa67b689a1d28aad?&s=32&rating=pg&d=https%3a%2f%2fwww

Giulio

over 7 years ago
 

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=32&rating=pg&d=https%3a%2f%2fwww

Robin Luckey

over 7 years ago
 

Dear Robin,

Any update on developing this front of the API?

Cheers!

7e749ebfbf87779cc07317e80cf74f15?&s=32&rating=pg&d=https%3a%2f%2fwww

rpremraj

over 6 years ago
 

Anything new on that?

9d958967cf1772553ba849a9242fe3b6?&s=32&rating=pg&d=https%3a%2f%2fwww

Johann Schmitz

over 5 years ago
 

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

063ffe4b4061aa874f09216cfd60d8f2?&s=32&rating=pg&d=https%3a%2f%2fwww

Robin Luckey

over 5 years ago
 

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

52e00b0d97af9100a5a1c3384549a8f4?&s=32&rating=pg&d=https%3a%2f%2fwww

C├ędric Vidal

about 5 years ago
 

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

A119dcae9b1d6469150e8f3c3691e07a?&s=32&rating=pg&d=https%3a%2f%2fwww

Jon Nordby

over 4 years ago
 

It's interesting~

2bcbe664b4db192e9d3ae259ecd193d5?&s=32&rating=pg&d=https%3a%2f%2fwww

wowgold

over 4 years ago
 

Any news? :)

A119dcae9b1d6469150e8f3c3691e07a?&s=32&rating=pg&d=https%3a%2f%2fwww

Jon Nordby

almost 4 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=32&rating=pg&d=https%3a%2f%2fwww

Jon Nordby

almost 4 years ago
 

Post a Response