Created
February 21, 2009 01:49
-
-
Save slackorama/67830 to your computer and use it in GitHub Desktop.
command line interface to get your 5 most recent FF subscriptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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