Language Bindings

Services_Digg2

Services_Digg2 is a PEAR package created by the developers at Digg that allows developers to quickly consume and interface with the Digg API. The PEAR package simply returns stdClass objects (decoded JSON).

Services_Digg2 is a very simple "pass-through" library, which does no client side validation. It simply returns errors from the API itself, so you should pay attention to the API documentation closely for details on methods, arguments, and errors.

Installing Services_Digg2

You can easily install the Services_Digg2 package using the PEAR command line utility under Windows, UNIX, and OSX. For change history, updates and other information please visit the package homepage. The source is maintained on Github.

pear install Services_Digg2-alpha

Services_Digg2_Exception

If the API returns anything other than a 2XX response Services_Diggs2 will throw Services_Digg2_Exception.

Python Digg

Python 2.5 client implementation for Digg's new writable API created by the developers at Digg. It makes it simple to consume and interface with the Digg API.

Installing Python Digg

easy_install will download and install python-digg and all of the required dependencies on it's own by executing the following command

easy_install http://github.com/downloads/synack/python-digg/python-digg-1.1.tar.gz

It can be installed by hand by installing the following required dependencies

Python Digg will use if available, python-memcached to cache the responses.