Forums : Ohloh API Discussion

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Retreiving contributors collection for specific project

Developers at the RubyCampus project are really digging Ohloh.

Any advice on retrieving contributor information in a collection similar to whats found here

We intent to embed the results as a Ruby macro within RedMine.

Admittedly, I just started looking at the API so it may be plenty clear. But never hurts to ask before diving in.

We are doing something similar with our translators repo and plan to pull and sort translators by greatest commits historically.

This is already in place as well on our Pootle server and would use the same method to render.

Any thoughts?

--
Kevin @ RubyCampus

Kevin Aleman about 17 years ago
 

Hi Kevin,

Yes, in fact this exact page is available in XML format via the API. Simply add a .xml extension to the URL, then add your api_key as an http param. So, for example:

http://www.ohloh.net/projects/rubycampus/contributors.xml?api_key=xxxxx

Let me know if you have any trouble getting the API to work.

Robin

Robin Luckey about 17 years ago
 

Excellent,

Do you have a repo (github) I can fork to contribute our Ruby code snippets so others can use it as we have written a lot of different hooks, even for Apple Keynote Presentations -- see page 11 keynote completely automated from updating screens -> PDF -> uploading to Scribd. Look mah, no humans.

--
Kevin @ RubyCampus

Kevin Aleman about 17 years ago
 

Worked like a charm!

Kevin Aleman about 17 years ago