Table of Contents

  1. Download
  2. Server
  3. Clients

Ohloh API Example

http://www.ohloh.net/images/mast/ohloh_logo.png

Ohloh is a website which provides a web services suite and online community platform that aims to map the landscape of open source software development.

The Ohloh API is a free, REST-based programming interface to the Ohloh open source directory. You can use the Ohloh API to create your own applications and web services based on Ohloh data.

adding screenshot

There is a live demo available on the PyAMF blog.

Download

Grab the example from the Subversion repository with:

svn co http://svn.pyamf.org/examples/trunk/ohloh ohloh-example
cd ohloh-example/python

Alternatively, if you just want to have a look at the source, you can browse the example source online.

Server

The WSGI server for the Flash/AMF client starts on http://localhost:8000 when you run the server.py file from the python folder:

python server.py

Note: Make sure you replace the API key in ohloh.py with a valid one that you can get for free when you sign up on Ohloh.

Clients

Use of one the following clients to communicate with Ohloh.

Other examples are available on the Ohloh website.

Attachments