RCStream

RCStream is a project to provide a live data stream of edits on Wikimedia wikis that anyone can tap and use to power editor tools and webapps, create beautiful visualizations, inform research, and extend MediaWiki. RCStream uses Socket.IO, a realtime webapp programming framework. If you are a web developer, you can tap the stream using JavaScript. If you are an app developer, you can use a suitable client library for your platform.

JavaScript
Consuming the Recent Changes stream from JavaScript requires loading the Socket.IO client library. RCStream provides a simple API for subscribing to the change stream of a subset of Wikimedia wikis, or you can subscribe to all wikis by subscribing to the special topic name '*'.

Python
The following sample Python code prints each change to standard output: