PyDigg

Overview

PyDigg is a Python toolkit for the Digg API. It provides an object-oriented interface to all of the available endpoints of the API. It is offered under the MIT License.

Download

Download it here: (tar.gz | zip)

Quick Start

To quickly get up and running in a Python application, download, extract and place the digg.py file in a path recognized by Python, import the contents of the digg module and instance the “Digg” class.

The following example prints the titles of the latest stories submitted to Digg:

from digg import *
d = Digg(APPKEY) #insert your own application key string
stories = d.getStories()
for story in stories:
print story.title

Documentation

Full documentation coming soon…

Contribute

Would you like to contribute to PyDigg? Join the Google Code Project.