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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file chess.com-0.2.tar.gz.

File metadata

  • Download URL: chess.com-0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for chess.com-0.2.tar.gz
Algorithm Hash digest
SHA256 613b94f6cb89ffb20b228a6b412866ef1e17ac365d9c0aba62eadfe7758f23c1
MD5 b4947c896c24bc2a9b739104bac21311
BLAKE2b-256 8dca7f915656af12d07beeca5d0843c630951808164ff5e172b5fc20582141c0

See more details on using hashes here.

File details

Details for the file chess.com-0.2-py3-none-any.whl.

File metadata

  • Download URL: chess.com-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for chess.com-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a44b92eb98db9af53de36645fb4b9198bd57832dcf13e0ab078ccdeba2b0b48
MD5 e851f9bca19eaceabf4adf0988f4168d
BLAKE2b-256 97e59f9c14434e3df84a2b42442d7f861e81e16172f017b5d92f3cc3426b3634

See more details on using hashes here.

Supported by

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