Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I'm thinking about starting a project where I'd like to have access to the "chat" feature of the stack exchange sites. I saw this project here:

http://meta.stackoverflow.com/questions/59760/irc-access-for-the-chat

But I don't believe that it works with the current revision of the chat system.

API access is also requested here:

Will the API support the chat system?

but it appears that the feature has been deferred. In the meantime, what ways do I have with interacting with the chat features of the network? It looks like there might be a "starred comment" rss feed, (http://chat.stackexchange.com/feeds/rooms/starred/ROOM_NUM) but is that the only interaction possible currently?

share|improve this question
add comment

1 Answer

and what exactly would you have? you are correct in that there is no officially supported API available for chat. Some fairly successful efforts have been made by the community (unrelated to SE) to reverse engineer the API that chat uses; but that is not the same thing as a supported and documented API.

AFAIK there are no active plans to implement a direct API for this. As already noted by Jeff, if we did do this, it probably wouldn't fit into quite the same API anyway (for reasons such as: data-centre proximity).

share|improve this answer
    
You can find an example of such an app here. –  Nathan Osman Dec 12 '11 at 20:39
    
I'd like to be able to read (and ideally write) to the chat system from some alternative interface. I can certainly attempt to reverse engineer it, and if that's what others have done (and been successful with/avoided violating any usage restrictions) then I can go that route. Something supported that isn't likely to change on a whim and break my stuff, whether it's part of this API or that API would be nice though. –  agent86 Dec 12 '11 at 20:41
    
@agent86 "read (and ideally write)" is pretty vague. What exactly do you want to do. Just to help me understand. Read existing transcripts? Query against new changes to active chats (which would typically be much more frequent / high usage)? –  Marc Gravell Dec 12 '11 at 20:47
    
I haven't completely decided yet, so apologies for the vagueness. One idea I'm having is a command-line driven ncurses chat client, for times when I can't have a full-blown browser running. Another thing I'm considering is some sort of IRC 'bot that is capable of generating statistics or perhaps filtering/analyzing the chat stream. For this, the RSS of starred chat entries might be enough. I haven't completely scoped everything because I don't know what's fully possible. –  agent86 Dec 12 '11 at 20:51
    
@GeorgeEdison, your app probably does quite a bit of the things I'm interested in, but I note that it's not open source. Are there any examples of open source projects that have "reverse engineered" the chat system so that I don't need to start from scratch? –  agent86 Dec 14 '11 at 0:38
    
@agent86: For security reasons part of it isn't open source. The rest is here. –  Nathan Osman Dec 14 '11 at 0:51
    
@GeorgeEdison, thanks for the link. I didn't see that in the original question, did I miss it? If so, my apologies. –  agent86 Dec 14 '11 at 0:53
    
@GeorgeEdison, what functionality is missing from the open source version? –  agent86 Dec 14 '11 at 1:19
    
@agent86: You can find a bit more here: paste.ubuntu.com/719394 –  Nathan Osman Dec 14 '11 at 1:38
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .