Skip to content

Implement last endpoint: Complete Live Archive by Time Control#63

Merged
sarartur merged 6 commits into
sarartur:masterfrom
OscarGarciaF:games-live-basetime-increment
Sep 22, 2025
Merged

Implement last endpoint: Complete Live Archive by Time Control#63
sarartur merged 6 commits into
sarartur:masterfrom
OscarGarciaF:games-live-basetime-increment

Conversation

@OscarGarciaF

@OscarGarciaF OscarGarciaF commented Sep 13, 2025

Copy link
Copy Markdown
Contributor

This endpoint was missing:

Complete Live Archive by Time Control
Description: Array of Live Chess games that a player has finished by time control.
URL pattern: https://api.chess.com/pub/player/{username}/games/live/{BASETIME}/(INCREMENT)

"BASETIME" is the base time control in seconds
"INCREMENT" is the increment in seconds

I added the implementation, tests, fixtures, docs.

Example test:

import chessdotcom
chessdotcom.Client.request_config['headers']['User-Agent'] = 'My Python Application. Contact me at email@example.com'
chessdotcom.get_player_games_by_basetime_increment("erik", 180, 2).__dict__

@sarartur please let me know what you think


📚 Documentation preview 📚: https://chesscom--63.org.readthedocs.build/en/63/

@sarartur sarartur merged commit 34af088 into sarartur:master Sep 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants