Download
PyBloglines 0.02: ZIP, tar.gz

Uses of PyBloglines

Bloglines RSS Reader for Xbox Media Center by Jon Maddox.

Related Projects
PyBloglines
A Python wrapper for Bloglines Web Services. Supports the notifier and sync APIs.
Project Log  posts from the PyBloglines category on SDJournal

Sunday, 17th October 2004

PyBloglines 0.02

This is just a minor update to PyBloglines which makes the BloglinesUnread count available in each subscription returned by listsubs. ZIP and .tar.gz versions are available on the project page.
Posted at 10:45PM

Friday, 1st October 2004

PyBloglines

I've put together an initial version of a Python module for accessing the Bloglines Web Services. Details and downloads are on the PyBloglines project page. You'll need a copy of Mark Pilgrim's Universal Feed Parser, which is used when you get items.

Usage is:

from pybloglines import BloglinesWebServices
# password is optional if you're only calling update() to check unread count
bws = BloglinesWebServices("user@example.org", "password")

To a count of the unread items for the user:

unreadCount = bws.update()

To get a list of subscriptions:

feeds = bws.listsubs()

This is returned as a list of Subscription objects where each entry has title, htmlUrl, type, xmlUrl, bloglinesSubId and bloglinesIgnore.

for feed in feeds:
    print feed.title

Get the items unread items for a feed, not marking them as read:

feedData = bws.getitems(bloglinesSubId)

What you get back is the result of passing the RSS returned by the BWS getitems call through feedparser so see the documentation for details on the structure.

Posted at 07:11AM