MediaWiki API
MediaWiki API is a web-based interface to MediaWiki wikis such as Wikipedia and Wikiversity. The API may be used to write bots, which are manual or automated scripts used to monitor and update pages on the wiki. This learning project documents different API resources and provides code samples in different scripting languages.
Documentation
- Primary documentation for the MediaWiki API is available at http://www.mediawiki.org/wiki/API:Main_page
- Documentation on the Pageview API is available at https://wikitech.wikimedia.org/wiki/Analytics/AQS/Pageview_API
Scripting Languages
Because the API is simply a web interface, it may be accessed from any programming or scripting language that has the ability to submit web-based GET and POST requests and read server responses. Common approaches include Python, Perl, and .NET.
Sample Code
See Also
This article is issued from Wikiversity - version of the Tuesday, December 01, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.