Skip to main content

get-chesscom-games

A Python API Wrapper for Chess.com to fetch chess games.

This library allows you to retrieve chess games from a Chess.com user’s profile going back a specified number of months. It's designed to be simple to use, and simplifies of interactions with Chess.com's API.

Usage

  • Fetch games from a Chess.com user's profile.
  • Specify the number of months back to fetch games.
  • Handle authentication and API requests internally.

Using get_chess_games.(Username, monthsago, optional user agent) -> returns a list of chess PGNS from X months ago until today

Example Usage:

import get_chess_games get_chess_games.getgames('Wins',6) #returns all chess games froms 'Wins' in the last 6 months

Installation

You can install get-chesscom-games directly from the Python Package Index (PyPI) or from source.

Using pip (PyPI)

pip install get-chesscom-games

Release files for get-chesscom-games 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-chesscom-games 0.1.2
File Size Uploaded
get_chesscom_games-0.1.2.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for get-chesscom-games 0.1.2
File Interpreter ABI Platform
get_chesscom_games-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / get_chesscom_games-0.1.2.tar.gz

Download URL get_chesscom_games-0.1.2.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
72b2e73612999f4eed72e8f93ad2e1f04bc14245c1967d50f3657dab5cb38781
BLAKE2b-256 checksum
How to use checksums
06d2b2110f0c2b0f86df7d1d2be378947060a523b255d883c9b4fd55ef1ca8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / get_chesscom_games-0.1.2-py3-none-any.whl

Download URL get_chesscom_games-0.1.2-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b43157419356359134d244bc90f433558208846adab2dad9effc928c1a8a9eda
BLAKE2b-256 checksum
How to use checksums
c430a964811a0a9a748d86224eb6af255a50ff55db66274e40eddb3a9fda1c5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page