Git Product home page Git Product logo

usta-cli's Introduction

USTA CLI ๐ŸŽพ

๐Ÿš€ Release ๐Ÿงช CI ๐Ÿ† Check Ranking Nuget

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. This tool would not be possible without relying on the work done by Selenium and the USTA.

Requirements

Install dotnet

Usage

dotnet tool install --global usta-cli
usta-cli <command> [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 ['[email protected]']

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 ['[email protected]']

usta-cli's People

Contributors

lineville avatar

Watchers

 avatar  avatar

usta-cli's Issues

Fails to find player ranking (sometimes)

Sometimes it will come up empty and not find the ranking on the page, and then on the next run it will work. This happens intermittently, not reproducible locally.

SendGrid Emails not sending

Sendgrid emails are not sending from actions with a 400 error. Looks like the content isn't getting passed in correctly

Add Results command

Create results command to show recent results. This might be more achievable scraping the UTR site?

Port to JS

Might fix some of the docker issues to port to JS...?

Expand rankings list to use pageSize and page

It would be nice to use a live table view where scrolling down or clicking down arrow would fetch the next page of data, right now there's not really a way to show anymore than the top 20.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.