TopRank Skills

Home / Claw Skills / 搜索 / pathe-movie
Official OpenClaw rules 54%

pathe-movie

Lookup Pathé Netherlands movies, posters, descriptions, cinemas, and showtimes via the Pathé JSON APIs. Trigger when the user mentions a Pathé movie/show, wants a poster, asks about a description/rating, or requests showtimes for a specific cinema.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 pathe-movie 技能。 若已安装,则直接安装 pathe-movie 技能。

Overview

Skill Key
humboldtjs/pathe-movie
Author
humboldtjs
Source Repo
openclaw/skills
Version
-
Source Path
skills/humboldtjs/pathe-movie
Latest Commit SHA
f16cf9cf69b5a9714faa643ce8f25e00ede09a74

Extracted Content

SKILL.md excerpt

# 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`.

## Cinema flow
- Query `/api/show/{slug}/cinemas?language=nl`. Filter the returned cinema keys against `approvedCinemas` in the config unless the user asks for others.
- For each cinema we need more detail about, call `/api/cinema/{cinema}?language=nl` to fetch the official `name`, `citySlug`, and `services`/`alerts` metadata.

## Showtimes
- Use `/api/show/{slug}/showtimes/{cinema}?language=en` to get schedules. Responses are dictionaries keyed by date (`YYYY-MM-DD`). Each value is an array of showtimes; every entry contains at least a `time` string (plus `screen`, optional `language`, `for...

Related Claw Skills