Skip to content

Python scripts that grabs users ratings from the USCF website and then writes them to a google sheet

Notifications You must be signed in to change notification settings

shanktt/USCF-Power-Ranker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USCF Power Ranker

Python script that scrapes players ratings from the USCF database, sorts them in rating order, and writes them to a google spreadsheet. Currently the script is built to work for the WWP HSN Chess Club

Requirements

The script requires gspread.py and OAuth2 credentials from Google Developers Console.

In order for the script to work with a spreadsheet of your club create a google spreadsheet that is formatted as seen in the picture:

alt text

Then edit line 53 in PowerRanker.py from:

wks = gc.open("HSN Chess Club POWER RANKINGS 2017-2018").get_worksheet(0)

To:

wks = gc.open("NAME OF YOUR SPREADSHEET HERE").get_worksheet(0)

Run the script every month when USCF ratings are officialy updated and the script will handle the ordering of all the players for you!

To Do

Implement a column that displays the change in a players rank from last month and create a different input of players method and output of players rankings so a google spreadsheets api is not necessary

About

Python scripts that grabs users ratings from the USCF website and then writes them to a google sheet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages