Home

Awesome

<p align='center'> <img src="art/chess-com-box.png"> <h3 align="center">chess-com-box-py</h3> <p align="center">ā™ŸļøŽ Update a pinned gist to contain your Chess.com Blitz, Bullet, Rapid, Puzzles & Daily Ratings</p> <p align="center"> <img src="https://github.com/sciencepal/chess-com-box-py/workflows/Update%20gist%20with%20Chess.com%20Ratings/badge.svg?branch=master" alt="Update gist with Chess.com Ratings"> </p> </p>

šŸ“ŒāœØ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

šŸŽ’ Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Copy the API token

šŸ–„ Project Setup

  1. Fork this repo
  2. Go to your fork's Settings > Secrets > Add a new secret for each environment secret (below)

šŸ¤« Environment Secrets

šŸ¤“ Hacking

# setup
pipenv install --dev
# testing
pipenv run python chess_com_box.py test <gist-id> <github-token> <user>
# example
# pipenv run python chess_com_box.py test ce5221fc5f3739d2c81ce7db99f17519 cf9181618bf1618253d17161843f71a2bb161850 sciencepal

āœØ Credits

This code was heavily inspired (with some code taken over) by @aksh1618's codestats-box-python.