Use APIs and data sources¶
Explore programming interfaces for building bots and tools.
Pywikibot¶
Pywikibot is a Python library and collection of scripts that automate work on Wikimedia projects.
Browse libraries by programming language¶
API client libraries make it easier to write code that interacts with an API. Visit this list to browse popular libraries for the MediaWiki API by programming language.
Use the API¶
The MediaWiki API gives you programmatic access to content on any Wikimedia wiki. You can use the API to search and display wiki pages, get media files, edit pages, and manage wikis.
Download content in bulk¶
Access free downloads of wiki content and data that you can use in research, offline reading, bot editing, and other projects.
Query wiki databases¶
Wiki replicas are anonymized versions of the databases that back Wikimedia's production sites. Use Quarry to run and share SQL queries.