Ohloh API Beta

The first release of the Ohloh API is now available. You can read the documentation and sign up on the API page.

We’re releasing early to get as much feedback as possible. This is a very early beta with limited functionality.

The API is a work in progress, and we will be actively expanding the API every day. If there’s a particular dataset you’d like to access, let us know, because new API methods will be implemented based on demand.

We’re very excited about this, and hope to see some very interesting applications!

11 Responses to Ohloh API Beta

  1. rgardler (Ross Gardler) August 23, 2007 at 1:57 pm #

    Cool – thanks OhLoh

    I’ve just created a plugin for Simal that will allow your data to be embedded in a Simal catalogue. It was a simple matter of converting your XML to a DOAP file.

    I look forward to seeing new features so that we can extract things like maintainers. In the meantime we’ll add a new display contract to the Simal plugin so we can display the summary stats you currently provide.

  2. dartar (dartar) August 23, 2007 at 3:00 pm #

    sexy

  3. Nazca (Daniel / Nazca) August 23, 2007 at 6:13 pm #

    about time cough

    lol, I’ll see about playing tomorrow.

    btw, what feed is this post on?

  4. robin (Robin Luckey) August 23, 2007 at 6:29 pm #

    Well, it looks this post is on the announcements feed, by happenstance more than by design.

    The announcements feed is hard to find. From the new announcements page you can find an RSS icon at the top.

    At some point it feels like we need to take a look at all of our various RSS feeds and organize things a bit.

  5. Nazca (Daniel / Nazca) August 23, 2007 at 6:34 pm #

    yes, theres is a feed icon on that page … it’s not for the announcements feed though, it’s for the blog

  6. robin (Robin Luckey) August 23, 2007 at 6:39 pm #

    Yes, that’s the bug I just fixed. Try again….

  7. Nazca (Daniel / Nazca) August 23, 2007 at 7:09 pm #

    ya, much better 🙂

    First glance at the api docs, there’s no way to get an users contributions yet?

  8. Nazca (Daniel / Nazca) August 23, 2007 at 7:15 pm #

    oh, as a minor point, the announcements feed you linked to has Ohloh Blog as the page title…. this intention?

    *goes for a little shuteye*

  9. Nazca (Daniel / Nazca) August 24, 2007 at 12:47 pm #

    Okie, question…

    what’s the api page for http://www.ohloh.net/projects/1/analyses/ ?

    I tried http://www.ohloh.net/projects/1/analyses.xml, but that’s got a whole shed load of html in it and other unrelated data.

  10. robin (Robin Luckey) August 24, 2007 at 4:58 pm #

    You have to give the analysis ID, because a project can have many different analyses. For instance:

    http://www.ohloh.net/projects/1/analyses/51898.xml
    

    http://www.ohloh.net/projects/1/analyses/ will give you a list of all the analyses available for a project, but we haven’t prepared an API version of that page yet.

    Get the project through the API, and it will include the ID of the best, latest analysis.

    Because the ID for the best analysis for a project is always changing, we have a shortcut URL you can use when you don’t know the latest analysis ID:

    http://www.ohloh.net/projects/1/analyses/latest.xml
    
  11. Nazca (Daniel / Nazca) August 24, 2007 at 9:52 pm #

    yup and yup, but I was more specifically thinking it would be interesting for trying to graph changes between analyses… not sure what, but meh 😛

Leave a Reply