https://github.com/lineville/usta-cli
Utility to scrape USTA rankings
https://github.com/lineville/usta-cli
csharp dotnet dotnet-tool scraper selenium stats tennis usta
Last synced: about 2 months ago
JSON representation
Utility to scrape USTA rankings
- Host: GitHub
- URL: https://github.com/lineville/usta-cli
- Owner: lineville
- License: mit
- Created: 2022-11-04T02:24:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T19:58:39.000Z (over 2 years ago)
- Last Synced: 2025-01-19T16:20:41.091Z (over 1 year ago)
- Topics: csharp, dotnet, dotnet-tool, scraper, selenium, stats, tennis, usta
- Language: C#
- Homepage: https://www.nuget.org/packages/usta-cli
- Size: 258 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# USTA CLI ๐พ
## [](https://github.com/lineville/usta-cli/actions/workflows/release.yml) [](https://github.com/lineville/usta-cli/actions/workflows/ci.yml) [](https://github.com/lineville/usta-cli/actions/workflows/check_rank.yml) 
Command Line Tool to view current USTA Tennis rankings for a particular player, or view the current standings by section and NTRP level. This tool is completely free โค๏ธโ๐ฉน and distributed via the [nuget package manager](https://www.nuget.org/packages/usta-cli). This tool would not be possible without relying on the work done by [Selenium](https://github.com/SeleniumHQ/selenium) and the [USTA](https://usta.com).
## Requirements
Install [dotnet](https://dotnet.microsoft.com/en-us/download)
## Usage
```console
dotnet tool install --global usta-cli
usta-cli [options]
```
## Commands
### `get [options]`
Gets a player's current ranking
- `-n | --name ['FIRST LAST']`
- `-f | --format [SINGLES|DOUBLES]`
- `-g | --gender [M|F]`
- `-l | --level [3.0|3.5|4.0|4.5|5.0]`
- `-s | --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]`
- `-o | --output [html|json]`
---
### `list [options]`
Lists the top players in a given section and level
- `-f | --format [SINGLES|DOUBLES]`
- `-g | --gender [M|F]`
- `-l | --level [3.0|3.5|4.0|4.5|5.0]`
- `-s | --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]`
- `-o | --output [html|json]`
- `-t | --top [20|50|100]`
---
### `subscribe [options]`
Subscribes to weekly email updates for a player's rankings
- `-n | --name ['FIRST LAST']`
- `-f | --format [SINGLES|DOUBLES]`
- `-g | --gender [M|F]`
- `-l | --level [3.0|3.5|4.0|4.5|5.0]`
- `-s | --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]`
- `-o | --output [html|json]`
- `-e | --email ['youremail@mail.com']`
---
### `unsubscribe [options]`
Unsubscribes to weekly email updates for a player's rankings
- `-n | --name ['FIRST LAST']`
- `-f | --format [SINGLES|DOUBLES]`
- `-g | --gender [M|F]`
- `-l | --level [3.0|3.5|4.0|4.5|5.0]`
- `-s | --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]`
- `-o | --output [html|json]`
- `-e | --email ['youremail@mail.com']`