Skip to content

Instantly share code, notes, and snippets.

@slackorama
Created February 21, 2009 01:49
Show Gist options
  • Save slackorama/67830 to your computer and use it in GitHub Desktop.
Save slackorama/67830 to your computer and use it in GitHub Desktop.
command line interface to get your 5 most recent FF subscriptions
#!/usr/bin/env python
# command line interface to get your 5 most recent FF subscriptions
import xmlrpclib
ff = xmlrpclib.Server("http://friendfeed.com/RPC2", use_datetime=True)
# api key fromhttps://friendfeed.com/account/api
auth = "slackorama:HIDDEN""
for e in ff.feed.home({"num":5}, auth)["entries"]:
print " * " + e["user"]["name"] + ": " + e["title"] + "\n" + e["link"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment