A Python API Wrapper for Chess.com to fetch chess games
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file get_chesscom_games-0.1.1.tar.gz.
File metadata
- Download URL: get_chesscom_games-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65c4d8151327dd21c64ac75c73c3a0a8fffa8ccbe90754c6f91988cf7c482a3b
|
|
| MD5 |
99506307a6c6c4d534893b9d6886e9c7
|
|
| BLAKE2b-256 |
72d684605d3e7ae48c8ecb894b7482ff14158a9954ce3003f3218c66d9cbeeb8
|
File details
Details for the file get_chesscom_games-0.1.1-py3-none-any.whl.
File metadata
- Download URL: get_chesscom_games-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5719765ba7d1b6bf562e81bf9dd29e9e0d1c2d90daf53ea88971d6418146352
|
|
| MD5 |
b91f4b3015e310cfd954b0fdd6b239a5
|
|
| BLAKE2b-256 |
475d7192eea90e367fccacaf44ffb223befd28e62a8bee5d987ff125d92a121d
|