Files
wehub-resource-sync 9b395f5cc3
Build Chrome Extension / build (push) Waiting to run
Trigger Website Rebuild (Docs Updated) / dispatch (push) Waiting to run
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:39:48 +08:00

2.2 KiB
Raw Permalink Blame History

TVmaze

Mode: 🌐 Public · Domain: tvmaze.com

Search TVmaze for TV shows by title, or fetch full show details by id. Hits the unauthenticated api.tvmaze.com directly.

Commands

Command Description
opencli tvmaze search <query> TVmaze TV show search by title (returns id, name, network, premiered/ended, rating)
opencli tvmaze show <id> Single TV show detail (network, schedule, rating, IMDB/TheTVDB cross-refs)

Usage Examples

# Title search
opencli tvmaze search "breaking bad"
opencli tvmaze search succession --limit 5

# Show detail (id from search)
opencli tvmaze show 169
opencli tvmaze show 169 -f json

Output Columns

Command Columns
search rank, id, name, type, language, genres, status, premiered, ended, network, rating, matchScore, summary, url
show id, name, type, language, genres, status, premiered, ended, runtime, averageRuntime, network, country, schedule, rating, imdb, thetvdb, officialSite, summary, url

The id column from search round-trips into show.

Options

Option Description
query (positional) Title or fragment to search for
--limit Max rows (150, default: 20)

show

Option Description
id (positional) TVmaze show id (positive integer; visible in https://www.tvmaze.com/shows/<id>/<slug>)

Notes

  • summary is plain text — TVmaze ships HTML (<p><b>...</b></p>); the adapter strips tags and decodes named / decimal / hex HTML entities.
  • rating is the TVmaze average (010 scale) or null when no rating is recorded.
  • imdb / thetvdb are cross-references to other registries — useful for joining with other adapters.
  • schedule combines days + airtime (e.g. "Sunday 22:00"); empty string when the show has no fixed schedule.
  • No API key required. TVmaze caps unauthenticated traffic at ~20 req / 10s — bursts surface as CommandExecutionError.
  • Errors. Bad id / empty query / out-of-range limit → ArgumentError; unknown id or no matches → EmptyResultError; transport / non-200 → CommandExecutionError.