pathe-movie

Installation
SKILL.md

Pathé Movie Skill

Summary

  • Always talk to the https://www.pathe.nl/api endpoints with the required browserlike headers (see scripts/pathe_movie.py).
  • Use the config at config/pathe_movie_config.json to know which cinemas to assume unless the user explicitly names a different cinema.
  • Rely on scripts/pathe_movie.py for reusable helpers (sanitizing queries, fuzzy matching, best-match selection, and fetching downstream endpoints).
  • When uncertain, reference references/api.md for payload shape, field names, and expected response structures.

Search flow

  1. Clean the user’s movie name by removing filler words (the, a, an, of, in, on, for, and).
  2. Call /api/search/full?q=... with the sanitized query.
  3. If multiple entries return, run a fuzzy title match (difflib) to pick the closest title. Keep the slug, poster (use poster.lg), and contentRating fields for later requests.
  4. If a poster is required, return the poster.lg URL (fall back to poster.md/posterPath when necessary).

Movie detail flow

  • Given a slug, call /api/show/{slug}?language=nl.
  • Pull contentRating.description and synopsis (some entries have null; handle gracefully) plus any extras such as genres, directors, actors, and trailers as context.
  • Poster references now live under posterPath before falling back to the search response’s poster.
Installs
2
First Seen
Apr 19, 2026
pathe-movie from skills.volces.com