usta-cli
2.0.0
See the version list below for details.
dotnet tool install --global usta-cli --version 2.0.0
dotnet new tool-manifest
dotnet tool install --local usta-cli --version 2.0.0
#tool dotnet:?package=usta-cli&version=2.0.0
nuke :add-package usta-cli --version 2.0.0
USTA CLI ๐พ
Command Line Tool to scrape the USTA rankings page to get a player's current ranking and send scheduled email updates when new rankings are posted
Usage
- Install dotnet or open in a GitHub CodeSpace ๐
dotnet run -- ghcr.io/lineville/usta-cli <command> [options]
Commands
rankings list [options]
Lists the top 20 ranked players in a given section, format, and level
All of the options listed below are optional (not required), if any of these are not provided it will give you an interactive prompt to select the options. If you wish to skip the interactive prompt or run this from an automated context, you must provide all of the options listed below.
--formator-f- The match format- SINGLES
- DOUBLES
--genderor-g- The player's listed gender- M
- F
--levelor-l- The NTRP level- 3.0
- 3.5
- 4.0
- 4.5
- 5.0
--sectionor-s- The USTA section- Eastern
- Florida
- Hawaii Pacific
- Intermountain
- Mid-Atlantic
- Middle States
- Midwest
- Missouri Valley
- New England
- Northern California
- Northern
- Pacific NW
- Southern
- Southern California
- Southwest
- Texas
- Unassigned
Example rankings list Output

rankings get [options]
Gets the ranking of a single player in a given section, format, and level
All of the options listed below are optional (not required), if any of these are not provided it will give you an interactive prompt to select the options. If you wish to skip the interactive prompt or run this from an automated context, you must provide all of the options listed below.
--nameor-n- The player's full name--formator-f- The match format- SINGLES
- DOUBLES
--genderor-g- The player's listed gender- M
- F
--levelor-l- The NTRP level- 3.0
- 3.5
- 4.0
- 4.5
- 5.0
--sectionor-s- The USTA section- Eastern
- Florida
- Hawaii Pacific
- Intermountain
- Mid-Atlantic
- Middle States
- Midwest
- Missouri Valley
- New England
- Northern California
- Northern
- Pacific NW
- Southern
- Southern California
- Southwest
- Texas
- Unassigned
(Optional)
--outputor-o- Defaults to markdown, options include- html
- json
Example rankings get Output
## Liam Neville
### Northern California Men's 4.0 singles
- National Rank: 349
- Section Rank: 11
- District Rank: 11
rankings subscribe [options]
Subscribes to a player's rankings updates and sends a weekly email when new rankings are posted
All of the options listed below are optional (not required), if any of these are not provided it will give you an interactive prompt to select the options. If you wish to skip the interactive prompt or run this from an automated context, you must provide all of the options listed below.
--nameor-n- The player's full name--formator-f- The match format- SINGLES
- DOUBLES
--genderor-g- The player's listed gender- M
- F
--levelor-l- The NTRP level- 3.0
- 3.5
- 4.0
- 4.5
- 5.0
--sectionor-s- The USTA section- Eastern
- Florida
- Hawaii Pacific
- Intermountain
- Mid-Atlantic
- Middle States
- Midwest
- Missouri Valley
- New England
- Northern California
- Northern
- Pacific NW
- Southern
- Southern California
- Southwest
- Texas
- Unassigned
Example rankings subscribe Output
Successfully subscribed to rankings updates for Liam Neville, level 4.0, section Northern California, format SINGLES
rankings unsubscribe [options]
Unsubscribes from a player's rankings updates
All of the options listed below are optional (not required), if any of these are not provided it will give you an interactive prompt to select the options. If you wish to skip the interactive prompt or run this from an automated context, you must provide all of the options listed below.
--nameor-n- The player's full name--formator-f- The match format- SINGLES
- DOUBLES
--genderor-g- The player's listed gender- M
- F
--levelor-l- The NTRP level- 3.0
- 3.5
- 4.0
- 4.5
- 5.0
--sectionor-s- The USTA section- Eastern
- Florida
- Hawaii Pacific
- Intermountain
- Mid-Atlantic
- Middle States
- Midwest
- Missouri Valley
- New England
- Northern California
- Northern
- Pacific NW
- Southern
- Southern California
- Southwest
- Texas
- Unassigned
Example rankings unsubscribe Output
Successfully unsubscribed to rankings updates for Liam Neville, level 4.0, section Northern California, format SINGLES
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.2 | 1,295 | 11/24/2023 |
| 2.1.1 | 1,083 | 11/19/2023 |
| 2.1.0 | 942 | 11/19/2023 |
| 2.0.9 | 1,029 | 11/17/2023 |
| 2.0.8 | 1,091 | 11/16/2023 |
| 2.0.7 | 987 | 11/16/2023 |
| 2.0.4 | 1,194 | 10/11/2023 |
| 2.0.3 | 1,150 | 10/11/2023 |
| 2.0.2 | 1,073 | 10/11/2023 |
| 2.0.1 | 1,084 | 10/11/2023 |
| 2.0.0 | 1,176 | 10/11/2023 |
| 1.0.0 | 1,187 | 10/11/2023 |
| 0.2.6 | 1,035 | 10/11/2023 |