Skip to main content

Python tools for working with the USATT website.

Project description

USATT

Python tools for working with the USA Table Tennis (USATT) website. As far as I am aware, there is no official API for the USATT site. So this works purely via grabbing the HTML pages from the site and parsing

Simple CLI examples

To get the USATT ratings for a few USATT ids, using a few of the top ranked USATT ids as an example:

usatt ratings -i 1165420 220283 31126

gives

USATT# Name Tournament Rating Highest Tournament Rating Tournaments Played League Rating Highest League Rating Leagues Played
1165420 Lei Kou 2790 2864 33 2816 2843 3
220283 Jinbao Ma 2760 2809 32 2723 2723 5
31126 Lily Zhang 2600 2641 95 2446 2483 41

To get a summary of all USATT ratings,

usatt summary --outfile usatt.csv

This will dump all USATT ratings to a CSV file.

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

usatt-0.0.3.tar.gz (28.4 kB view hashes)

Uploaded Source

Built Distribution

usatt-0.0.3-py3-none-any.whl (5.7 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