The Freshmeat XML-RPC API

It must be API week around here…

Last night I was playing around with the Freshmeat API. Python makes it really easy to implement XML-RPC clients for just about anything, and this was no exception. A couple of lines of code later, I was getting some basic responses:

metis $ python freshmeat.py Welcome to the Freshmeat XML-RPC API... Username: thinkhole Password: ******** Logging in... API Version 1.03 Session ID: 5d11fbcfff5e22a9b1b9b8aa54bacdba Logging out... Logout successful.

I can’t think of any reason I’d need to access Freshmeat, but still… kind of cool.

3 Responses to “The Freshmeat XML-RPC API”

  1. Mateusz Łoskot Says:

    >
    > I can’t think of any reason I’d need to access Freshmeat
    >

    I think you could have a news/IMs notifier written that way.
    The script could run with cron on your server and check what’s new, at intervals. If there is something new you could get a message by e-mail or SMS :-)))

  2. John Says:

    Freshmeat already has a pretty good email notification system (via “subscriptions”). But having notifications by IM or IRC is a fun idea!

  3. Mateusz Łoskot Says:

    Yup :-)

Leave a Reply