Simple Stack.PY Example
Nathan Osman — 4¬†years, 5¬†months ago


from stackpy import Site
# Create an object that represents the site
au = Site('askubuntu')
# Fetch the latest 30 questions
questions = au.questions
# Print the title and owner of the questions
for q in questions:
print '%s asked "%s"' % (q.owner, q)