1.0.22 • Published 6 months ago

football-client v1.0.22

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Football CLI

A command-line tool for checking football scores, fixtures and standings.

Football data is sourced from https://www.football-data.org/, and a free account is required. You can enter your unique API token straight from the command-line during the first run, or set it as an environment variable in X_AUTH_TOKEN in a .env file at the root of the project.

Getting Started

The script can be run directly using npx:

npx football-client

Installation

Alternatively, clone the project to your local machine with:

git clone https://github.com/tom-draper/football-client.git

Install dependencies with:

npm install

And then run using:

node main

Arguments

The main menu can be skipped by passing the target page name (standings, fixtures, upcoming or scorers) as a command-line argument.

npx football-client standings

If a target page has been specified, the competition can also be provided using the --comp flag followed by a competition name (premier-league, championship, la-liga, serie-a, ligue-1 or bundesliga). If none specified, the premier-league is used as default.

npx football-client standings --comp la-liga

npx football-client fixtures --comp bundesliga

npx football-client scorers --comp serie-a
1.0.22

6 months ago

1.0.21

6 months ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago