- pageid for images is deterministic - PR 549
- Add WikipediaImage, ImagesDict, and imageinfo API - PR 525
- Pass parameters to the underlying htttp client - PR 520
- Add API for coordinates, random, search, and geosearch - PR 504
- Introduce async support - AsyncWikipedia - `PR 479`_
- Apply security best practices - PR 447
- Increase CLI test coverage - PR 449
- Increase code coverage - PR 451
- Switch to uv - PR 432
- Introduce command line tool - wikipedia-cli - PR 402
- Kwargs are overwriting default API params (breaking) - PR 408
- Handle HTTP errors, add retries (breaking) - PR 417
- Split __init__.py into smaller files - PR 422
- More user friendly error messages to make ChatGPT users happy
- Allow specifying language variant - Issue 209
- Allow passing additional parameters for API calls.
- This breaks the API since variant is now the third parameter.
- Regenerate stable documentation
- Add support for Python 3.13
- Regenerate stable documentation
- Drop support for Python 3.8
- Update dependencies
- Add tests for more platforms
- Make user agent mandatory - Issue 63
- This breaks the API since user_agent is now the first parameter.
- Adds support for retrieving all sections with given name - Issue 39
- Namespace could be arbitrary integer - Issue 29
- Adds persistent HTTP connection - Issue 26
- Downloading 50 pages reduced from 13s to 8s => 40% speed up
- Adds namespaces 102 - 105 - Issue 24
- Adds tox for testing different Python versions
- Allows modifying API call parameters
- Fixes Issue 16 - hidden categories
- Fixes Issue 21 - summary extraction
- Handles missing sections correctly
- Fixes Issue 20
- Uses HTTPS directly instead of HTTP to avoid redirect
- Correctly extracts text from pages without sections
- Adds support for quoted page titles
api = wikipediaapi.Wikipedia(
language='hi',
)
python = api.article(
title='%E0%A4%AA%E0%A4%BE%E0%A4%87%E0%A4%A5%E0%A4%A8',
unquote=True,
)
print(python.summary)- Adds support for Python 3.4 by not using f-strings
- Uses code style enforced by flake8
- Increased code coverage
- Uses type annotations => minimal requirement is now Python 3.5
- Adds possibility to use more parameters for request. For example:
api = wikipediaapi.Wikipedia(
language='en',
proxies={'http': 'http://localhost:1234'}
)- Extends documentation
- Adds support for property Categorymembers
- Adds property
textfor retrieving complete text of the page
- Added support for request timeout
- Add header: Accept-Encoding: gzip
- Added support for property Categories
- Removing
WikipediaLangLink - Page keeps track of its own language, so it's easier to jump between different translations of the same page
- Rename directory from
wikipediatowikipediaapito avoid collisions
- Handle redirects properly
- Usage method
pageinstead ofarticleinWikipedia
- Added support for property Links
- Added support for property Langlinks
- Use properties instead of functions
- Added support for property Info
- Support for extracting texts with HTML markdown
- Added initial version of unit tests
- It's possible to extract summary and sections of the page
- Added support for property Extracts