Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitar/mediawiki-stream

WikiMedia recent changes DDP API
https://github.com/mitar/mediawiki-stream

ddp mediawiki mediawiki-api streaming wikimedia wikipedia

Last synced: about 1 month ago
JSON representation

WikiMedia recent changes DDP API

Awesome Lists containing this project

README

        

# WikiMedia recent changes DDP API

WikiMedia wikis (of which Wikipedia is the most known) provide a
[stream of recent changes](https://wikitech.wikimedia.org/wiki/EventStreams). If you want to subscribe to them
in a [Meteor](https://www.meteor.com/) application (or [any other application supporting DDP protocol](http://www.meteorpedia.com/read/DDP_Clients)),
you can instead connect to the [`https://wikimedia.meteorapp.com/`](https://wikimedia.meteorapp.com/) DDP endpoint
and subscribe to the publish endpoint which publishes those recent changes. The advantage is that you can filter to only
those changes you care about using MongoDB selectors, and project only fields you want. Moreover, changes of adding
or editing wiki content are augmented with the information about the change itself, e.g., a diff of the change.

See [`https://wikimedia.meteorapp.com/`](https://wikimedia.meteorapp.com/) for more information and documentation.