Retreiving contributors collection for specific project

Avatar

Kevin Aleman

about 1 year ago

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


Avatar

Robin Luckey

about 1 year 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


Avatar

Kevin Aleman

about 1 year 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


Avatar

Kevin Aleman

about 1 year ago

Worked like a charm!