Repository navigation
v1.7.0
akipy 1.7.0
This release fixes game startup against Akinator’s current website and adds an image URL that follows the game as questions are answered.
What’s new
start_game()now reads the session and first question from the current/gamepage. A signature is no longer required, fixing theValueErrorreported with 1.6.0.akinator_image_urlnow points to the current PNG fallback image. It updates after an answer, changes when Akinator makes a guess, and returns to the previous image on Back.akitude_urlremains available as an alias.- New state fields help distinguish game outcomes:
no_question,child_mode_blocked, andsoundlike. - Answer and Back handling now preserve the correct state after a rejected guess.
- Rejected requests with
completion="KO"raiseAkinatorServerError. ASOUNDLIKEending is handled separately from a defeat. - The README now includes sync and async examples, image usage, and guidance for guesses and terminal states.
The PNG image is the website’s non-animated fallback. It is calculated from scores already returned by Akinator, so using it does not add network requests.
Upgrade
pip install --upgrade akipyNo code changes are needed for a basic game. If your application handles errors, note that a rejected game request now raises AkinatorServerError.
What’s Changed
Fix Akinator sessions and add per-question PNG images by @advnpzn in #17
Full Changelog: v1.6.0...v1.7.0