Skip to content

Optimize showtime requests and theater lookup - #13

Merged
tducret merged 2 commits into
mainfrom
optimize-showtime-requests
Sep 29, 2026
Merged

tducret merged 2 commits into
mainfrom
optimize-showtime-requests

Conversation

@tducret

@tducret tducret commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • stop querying additional dates when a theater has no showtimes
  • jump directly to the next available showtime date when Allocine provides one
  • resolve theater details from page metadata when the showtime API has no current results
  • cover these behaviors with recorded VCR responses and snapshots

Validation

  • uv run pytest -q
  • uv run ruff check allocine/client.py tests/test_allocine.py
  • uv run ruff format --check allocine/client.py tests/test_allocine.py
  • uv run ty check
  • uv run seances W1021 --semaine

@tducret tducret changed the title Skip unnecessary showtime requests Optimize showtime requests and theater lookup Sep 29, 2026
@tducret
tducret merged commit 1dcf893 into main Sep 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant