At Trakt, we collect lots of interesting information about what tv shows and
movies everyone is watching. Part of the fun with such data is making it
available for anyone to mash up and use on their own apps. The Trakt API was
made just for this purpose. Let us know what you create!
Project Structure
This workspace
contains multiple projects:
api: Core library that implements Trakt API interactions using ts-rest
and zod for type-safe communication and validation.
playground: CLI project for testing and exploring the Trakt API
functionality.
developer: Traktβs developer portal at developer.trakt.tv, with 28
Markdown guides in Getting Started and an interactive API Reference
playground. Lives in projects/developer. See
local setup and
editing guides and navigation.
openapi: Simple hono server that serves the API contract as an OpenAPI
specification.
Environment Variables
The followingβ¦