I blogged about FriedFeed a while ago and how to get started writing your own app with the FriendFeed API, PHP and JSON. For those that don’t know, FriendFeed is essentially a ‘lifestream aggregator’ app, founded by some ex-Googlers that created Gmail.

One of the things the API was missing was the ability to get a listing of all services (without having to get actual FriendFeed entries). For example, I just want a listing of all services that are available in FriendFeed (such as Last.FM, Picassa, Google Reader, YouTube etc…). The main benefit this provides is it will allow me to write my app and pull in data for each service (instead of just getting all data from the feed, and then parsing through it all).

So I raised a feature request for this, and its great to see its now been implemented! You can now get a listing of all friendfeed services by calling their RESTfull API at http://friendfeed.com/api/services, and you will get back a JSON response with all the services. Here is a snippet of the response format:

1
2
3
4
5
6
7
8
{ 
  "services":[
       {"url":"http://www.polyvore.com/","iconUrl":"http://friendfeed.com/static/images/icons/polyvore.png?v=8d9135930c2d29a9b5d13a3c4b936268","id":"polyvore","name":"Polyvore"},
       {"url":"http://twitter.com/","iconUrl":"http://friendfeed.com/static/images/icons/twitter.png?v=436161fcd23ab1587cfc5b96807ba5d2","id":"twitter","name":"Twitter"},
       {"url":"http://friendfeed.com/","iconUrl":"http://friendfeed.com/static/images/icons/festivus.png?v=40cd451f66084978afab17f85fa254c6","id":"festivus","name":"FestivusFeed"},
       {"url":"http://www.linkedin.com/","iconUrl":"http://friendfeed.com/static/images/icons/linkedin.png?v=a18a565c4d846c72aaf92701f10f6824","id":"linkedin","name":"LinkedIn"}...
    ]
}