wikipedia-api.readthedocs.io - Wikipedia API — Wikipedia Python API 0.6.0 documentation

Example domain paragraphs

Wikipedia-API is easy to use Python wrapper for Wikipedias’ API. It supports extracting texts, sections, links, categories, translations, etc from Wikipedia. Documentation provides code snippets for the most common use cases.

This package requires at least Python 3.4 to install because it’s using IntEnum.

pip3 install wikipedia - api Usage ¶ Goal of Wikipedia-API is to provide simple and easy to use API for retrieving informations from Wikipedia. Bellow are examples of common use cases.