Skip to main content

Python Wrapper around Chess.com API

Project description

Python Chess.com Wrapper

Python wrapper around Chess.com API.

Description & Implementation

A full Python Wrapper around Chess.com API which provides public data from the chess.com website. All endpoints provided by Chess.com's API are avaliable as methods of the ChessDotCom class.

Usage

Please refer to https://www.chess.com/news/view/published-data-api for detailed instructions for Chess.com API. Detailed documentation specifically for the module will soon be avaliable. Below is a simple example of the usage.

from chessdotcom import ChessDotCom

client = ChessDotCom()

data = client.leaderboards()
print(data)

data = player_games_by_month(username='fabianocaruana', yyyy='2020', mm='04')
print(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chess.com-0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

chess.com-0.2-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page