lichess-org / lichess-org/api

Current TV game stream API is missing crucial information

Open
#614 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
597
Forks
176
Avg merge
1d 4h
Merged PRs (30d)
6

Description

The [Stream current TV game of a TV channel](https://lichess.org/api#tag/tv/GET/api/tv/{channel}/feed) API does not publish the time control of the game. All we have is the seconds left to each player when the stream starts.

The problem can be solved by [exporting the JSON](https://lichess.org/api#tag/games/GET/game/export/{gameId}) of the game in question, but why use another API call for an information pertinent only to TV streaming?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the GET /api/tv/{channel}/feed endpoint and the linked game export endpoint to understand the current response fields and available time-control data. Done means the TV game stream exposes the game's time control without requiring a second API call.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.